Gunlaug Sørtun wrote:
> Zoe M. Gillenwater wrote:
>   
>> In IE, paragraphs that follow the cleared floats seem to clear as 
>> well, leaving large gaps. I've tried the standard IE bugs fixes 
>> without success.
>>     
>> http://www.saferoutesinfo.org/guide/float-clear.html
>>     
>
> Don't know of any real fixes, but you may get a bit closer by
> playing with a particular 'hasLayout' trigger.
>
> Add this to your page-styles...
>
> * html p {display: inline; zoom: 1; padding: 6px 3px;}
> div p {display: block; padding: 0;}
>
> ...and see if that's close enough.
>
> regards
>       Georg
>   

Hmm, as suspected, there are some problems in the real page.  I've added 
these styles:

* html #content p {
    display: inline;
    zoom: 1;
    padding: 1.2em 0;
    }
#content .horizontal p,
#content .vertical p {display: block; padding: 0;}

However, gaps now appear to the left of paragraphs that follow floated 
images, and it looks like I need to apply a hack to the headings as 
well. Go to this page and make it really big (at least 1200 wide) to see 
all the gaps:
<http://www.saferoutesinfo.org/guide/index.cfm?start=3&ITEM=SECTION&SECTION_ID=S387&CHAPTER_ID=C353>

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to