RE: Browser variations in a "stretchy" CSS design

Geoff

There is a mailing list that deals with css issues with some extraordinarily knowledgeable people on it (including a few names that you'll recognise from here).  
http://www.css-discuss.org/mailman/listinfo/css-d 

Your problem is almost certainly caused by IE's css parsing oddities but without further investigation I'm not sure what. A box model hack might solve it but bear in mind that not all hacks produce valid css. I'm not sure if there is an @import hack to serve up a css for IE only. You could do some php server-side sniffing to detect for IE and then serve up an alternative css based on that. Another alternative is to take advantage of IE's conditional HTML comments to serve up a completely different style sheet for all or certain versions of IE. I tried doing that as an experiment and it seems to work OK. If anyone knows of any accessibility base reasons not to use conditional comments then please could they let me know.

thanks

Julian.

 




> -----Original Message-----
> From: Hoffman, Geoffrey [mailto:ghoffman@aztrib.com]
> Sent: Thursday, June 26, 2003 6:54 PM
> To: w3c-wai-ig@w3.org
> Subject: Browser variations in a "stretchy" CSS design
> 
> 
> 
> Slightly OT: 
> 
> I am making a site that relies almost exclusively on CSS for
> presentation/formatting of standard HTML tags TD P, H3, etc. 
> I have exactly
> ZERO elements declared with pixel widths, all % and em for 
> font sizes. 
> 
> When resizing the browser window in NS7 & OP7 (Win only tests 
> so far) the
> text is reflowing perfectly but for some reason I can't 
> figure out (driving
> me mad) IE is not reflowing the text as expected, thus in IE 
> the design is
> wider than 800 px on some pages... unacceptable. I'm 
> wondering if I need
> some box hack or @import hack in order to load a different CSS for IE.
> 
> If you have a sec to check it out, staged here: 
> http://salientdigital.com/clients/sunsetfoods/
> username: sfmi
> password: 8474320035
> 
> The pages I have so far are index, sale, about us, & catering.
> 
> Thanks in advance (TIA)
> 
> Geoff Hoffman
> 
The information in this email is confidential. The contents may not be disclosed or used by anyone other than the addressee.  If you are not the addressee, please tell us by using the reply facility in your email software as soon as possible. Sheffield City Council cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network.  If you suspect that the message may have been intercepted or amended please tell us as soon as possible.

Received on Friday, 27 June 2003 05:52:56 UTC