Re: XHTML, CSS and IE 5.x

by "Mike Taylor" <lonewolf(at)one.net>

 Date:  Wed, 30 Apr 2003 23:00:31 -0400
 To:  <hwg-techniques(at)hwg.org>
 References:  nuvox email
  todo: View Thread, Original

----- Original Message ----- 
From: "Gregor Pirnaver" <gregor.pirnaver(at)email.si>
To: <hwg-techniques(at)hwg.org>
Sent: Wednesday, April 30, 2003 7:56 PM
Subject: Re: XHTML, CSS and IE 5.x


> On sreda 30. aprila 2003 18:28, Mike Taylor wrote:
> > I'm also aware of a "hack" for CSS with regard to IE 5.x,
> > but I don't think I can use this hack to overcome the
> > above scenario without affecting the browsers that do get
> > it right.
>
> Why not?

I'm trying to create a corporate-level website that is completely tableless.
Unfortunately, this entails not just one box with positioning issues, but
several dozen, all nested within in one another, with all the inheritance
that comes from such a layout.  Additionally, I'm using ID's for the DIV's,
not classes.  The hack will not work under these conditions.  Lastly,
I've concluded that for my purposes, it's best to write a C# codebehind file
with browser
detection, so that I can dynamically pass to the client the proper CSS file.
Since our department decided, based on our traffic, to support IE 5+ and
Netscape 6+, I'll need to create one extra set of stylesheets specifically
for IE 5.x.  I think that will likely be much less a headache than trying to
keep track of hacks to a CSS file.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.