[Javascript] Help with this code
Roger Roelofs
rer at datacompusa.com
Tue Aug 10 09:55:41 CDT 2004
Sal,
On Aug 10, 2004, at 10:46 AM, Sal Perconte wrote:
> Hi,
> can anyone tell me what language
> the code inside the square brackets
> belongs too the [if IE]
> I know what it means, but it's outside
> the script tags?
>
> </script>
> <!--[if IE]>
> <style type="text/css" media="all">
> #navbar li ul {
> position: absolute;
> right: 149px;
> top: 0;
> display: none;
> z-index: 10;
> }
> </style>
> <![endif]-->
The comments are ie conditional comments. It means that the styles
will only be used by ie.
Roger
-------------------------------------------------------
Roger Roelofs web www.datacompusa.com
Datacomp Appraisal Services web www.mhvillage.com
3215 Eaglecrest Drive, NE Email rer at datacompusa.com
Grand Rapids, MI 49525-4593
More information about the Javascript
mailing list