Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Margins not included after clearing H3 tag.

11:41 am on Dec 6, 2009 (gmt 0)

New User

5+ Year Member

joined:Sept 25, 2009
votes: 0

I am doing a page with lots of text and with some images embedded into the page.

I used a div tag to encapsulate the img tag and the caption and floated the div "<div class="img_left">" left which works quite well.

I am using h3 tags to define the sections headlines which I "cleared" using the clear style to avoid the headline flowing along an img div when the sections have less text which works very well.

The only problem is that I don't get more space between the floated div and the cleared h3 tag using margins. Margin doesn't work here because the margin is added between the cleared headline and the paragraph flowed right along the img div.

adding empty paragraphs of course works but I would like to know if I can do this otherwise making the whole layout really uniform.

12:02 pm on Dec 6, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member swa66 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 7, 2003
votes: 0

padding, line height , ... ?

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members