[thelist] CSS Question

Mark Howells mark at mountain.ch
Wed Mar 13 08:19:01 CST 2002

> <style type="text/css" media="screen">@import "layout1.css";</style>
> Why not use this?
> <link rel="text/css" href="layout1.css">

Because then NN4 will see the advanced CSS and will proceed to smash the
page to bits. NN4 doesn't understand @import and so this method is used to
"hide" advanced styling from that browser.

Take a look at <http://www.projectseven.com/tutorials/buttons/> for further
details of this method.

Mark Howells

More information about the thelist mailing list