|
Posted by BootNic on 11/03/06 00:04
> dorayme <doraymeRidThis@optusnet.com.au> wrote:
> news: doraymeRidThis-19F5E3.10320303112006@news-vip.optusnet.com.au
> In article <Tyu2h.21342$TV3.17822@newssvr21.news.prodigy.com>,
> "BootNic" <BootNic@bounce.prodigy.net> wrote:
>
>>> Dave Kelly <daveekelly@earthlink.net> wrote:
>>> news: 89u2h.1455$0r.980@newsread1.news.pas.earthlink.net
>>> BootNic wrote:
>>>
>>>> IE 3px gap
>>>> http://www.positioniseverything.net/explorer/threepxtest.html
>>>>
>>>> <!--[if gte IE 5.5 & lte IE 6]>
>>>> <style type="text/css">
>>>> table {
>>>> margin:0 -3px 0 -3px;
>>>> </style>
>>>> <![endif]-->
>>>
>>> Just to clarify...........
>>> This goes inside the wrapper that contains the table and right after
>>> this line:
>>> <table border="1" cellspacing="1" >
>>>
>>> I put it there and it works.
>>
>> Make it an external style sheet, wrap the link in the conditional
>> statement, add it to the head after your other external style sheet.
>> ...
>> <link href="misc.css" rel="stylesheet" type="text/css" />
>> <!--[if gte IE 5.5 & lte IE 6]>
>> <link rel="stylesheet" href="" type="text/css" />
>> <![endif]-->
>
> If it is the only thing for IE eyes only, probably as well to
> just stick it at the bottom of the regular stye sheet, no?
Conditional comments don't work inside the stylesheet. However it
does make for a good laugh if one is trying to write a bit a javascript
and cant figure out why IE is thronging object expected error.
--
BootNic Thursday, November 02, 2006 7:03 PM
People grow through experience if they meet life honestly and
courageously. This is how character is built.
*Eleanor Roosevelt*
Navigation:
[Reply to this message]
|