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
>   

Georg,

This removes the vertical gap above the paragraphs in my test page, but 
prevents the paragraphs from wrapping around the photos. However, this 
may be the best solution in my particular case. A gap below the photos 
where the text doesn't wrap is not a big deal to me -- at least not 
compared to the vertical gaps. Thanks! I need to be sure to test it in 
my real page though -- never know when IE will blow up when more stuff 
is thrown at it, you know. :-)

Do you know if the current IE 7 beta freaks out on this hack, out of 
curiosity?

Thanks,
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