Hi
I was looking at the source code of a site which had the code below in the
<head> section.
Could someone please explain whether this is a known and effective way of
compensating for browser CSS bugs, and if so, how it works?
Thanks,
Jeremy Clulow
<style type="text/css" media="screen">
<!-- /*<![CDATA[*/ @import url("standard.c ss"); /*]]>*/ --> </style>
<!--[if IE 5]> <style type="text/css" media="screen"> /*<![CDATA[*/
div.storybox { top: 100px;}
#header .logo { margin-top: 10px; }
.item { width: 48%; }
#menubox { width: 200px; }
#submenu li { margin: -1.1em 0em; }
#submenu { margin: 1em 0em 0em 0em; }
/*]]>*/ </style>
<![endif]-->
<!--[if IE 5.5000]> <style type="text/css" media="screen"> /*<![CDATA[*/
.logo { margin-top: 10px; }
.right { border-top: 10px; }
.item { width: 48%; }
#menubox { width: 200px; }
#submenu li { margin: 0.2em 0em; }
#submenu { margin: 1em 0em 0em 0em; }
/*]]>*/ </style>
<![endif]-->
--
~~~~~~~~~~~~~~~ ~~~~~~~~~~~
Jeremy Clulow,
Webs Wonder Design
www.webswonder.co.uk
je****@websNOSP AMwonder.co.uk
~~~~~~~~~~~~~~~ ~~~~~~~~~~~