Hey Marcelo,

In case your problem is related strictly to the way IE behaves, I think you
should learn about Quirks mode (http://www.quirksmode.org/css/condcom.html)
-- this would spare you the trouble of having to use browser detect
functions. Moreover, it would be better if you thought about creating a
general css file, applying special css specs only when necessary. This way
you'd make much easier maintaining your site than keeping several css files.

Rgds,

Fausto Silveira

Message: 22
> Date: Sun, 4 Mar 2007 15:15:28 -0800
> From: "Marcelo de Moraes Serpa" <[EMAIL PROTECTED]>
> Subject: [css-d] One CSS file for each browser (IE/Firefox)
> To: css-d@lists.css-discuss.org
> Message-ID:
>         <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi list,
>
> I'm just starting tableless layout design. I'm on my first pure-css layout
> project. While the concept is easy and the workflow in general is kind of
> easier than table layouts, I'm getting really frustraded by the
> differences
> I'm getting on my lay when I test it on both FF and IE. What I'm thinking
> is
> to server a different css depending on the client's browser. This way I
> could first layout the website on a more standard compliant browser
> (FireFox) and then copy the css and start fixing the layout on IE and
> server
> this new css if the user uses IE. I would use http header information to
> detect the browser and then the backend would serve the correct css file.
>
> What do you think?
>
> Thanks in advance,
>
> Marcelo.
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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