On Apr 20, 2006, at 3:23 PM, GypsiiRose Baptiste wrote:

> When I view the modified file, the navigation buttons get stretched  
> across
> the entire tab in IE/mac (v 5.2).  I am on a Mac, and right now I  
> don't have
> access to a PC... so I'm not sure if this works on the PC version  
> of IE. It
> looks fine in Safari and Firefox still.
>
> This is the original: http://beesknees.net/Imagine/index_test.html
>
> and this is the modified: http://beesknees.net/Imagine/imagine.html

Oops, I knew I forgot one.
IE Mac is an old browser, and works according to the CSS 2.0 specs,  
which *requires* a float to have width declared [1]. Other, more  
modern browsers do some shrink wrapping in this case, but not IE Mac.
This will fix it:

/*\*//*/
#mainnav a {float:left;}
/**/    

That weird looking comment on the first line is a kind of filter [2];  
only IE Mac can see past it. after the rule, add another comment to  
close the filter.
IE win is not affected by this problem.
Put that a the end of your stylesheet, and you'll be good to go.

[1] <http://www.l-c-n.com/IE5tests/float2misc/#flwidth>
[2] <http://www.l-c-n.com/IE5tests/hiding/#anshow>

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
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