Welcome to WebmasterWorld Guest from 54.211.86.24

Forum Moderators: not2easy

Margins not included after clearing H3 tag.

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

5+ Year Member



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)

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



padding, line height , ... ?
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month