Edwin van der Vaart wrote:
> The only browsers that doesn't support stylesheets are old browsers
> (e.g. Netscape Communicator 4.79) and text-browsers.
Stop talking crap!
Netscape Communicator 4.x supports stylesheets. In fact, it supports two
different stylesheet languages, which is more than most.
Whatsmore, there are plenty of shiny, new browsers that don't support CSS,
but are not text-only. For example, the one on my Nokia 6100.
To answer the OP's question, you want:
<link href="style.css" rel="stylesheet" type="text/css" id="style" />
And stop using that "//<![CDATA[" crap. It's crap.
And as kchayka and Jim said, forget looking at screen.height. It
doesn't tell you anything useful. Look at document.body.clientWidth
instead, but make sure both style.css and style2.css are flexible layouts
anyway.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~
http://tobyinkster.co.uk/contact