2 replies [Last post]
KeithHurst
Offline
newbie
Last seen: 11 years 41 weeks ago
Joined: 2008-05-20
Posts: 3
Points: 0

Hi,

I have modified a Zen theme, created a new node.tpl file for my newsitems. This content type has the ability to record a pertenant quote and this quote is then formatted with div's and is eventually floated over on the right with the content text wrapping nicely around it.

It uses relative positioning. However I would like this quote block lower on the page but without injecting my quoteblock divs into the actual drupal content body I can't see how to do this.

I tried changing from relative to absolute and this does in fact movie it down but the bodt text then appears under the quote block.

The attached image will show what's currently happening, as I say I just need the quote block lowed somewhat.

Any help, advise appreciated, pretty new to CSS.

Keith

AttachmentSize
grab_1.jpg134.62 KB
Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 5 years 49 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

You're going to have to edit

You're going to have to edit your HTML. You can't have text run around something like that if it's not inserted in the HTML in the correct place.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

KeithHurst
Offline
newbie
Last seen: 11 years 41 weeks ago
Joined: 2008-05-20
Posts: 3
Points: 0

Thats what I thought really,

Thats what I thought really, but if you know Drupal ( and seeing this site is built on it I presume you do ) then The actual body of the HTML is presented to me as one variable. I would have to use PHP to inject my own HTML into that body text.

Time to dig the PHP book out....

Thanks
Keith

[EDIT] - well that was easy enough, done and done :thumbsup: