Previous Message
Next Message

Re: [css-d] CSS Hack

Sent by Kevin Smith on 21 February 2002 15:03


On 02.21.2002 3:20 PM, Joe Gregorio wrote:

> I haven't seen this hack mentioned anywhere. I just
> ran into it quite by accident. The idea is that IE
> still parses CSS statements even if they are commented out.
> 
> .fullName {
> border-bottom: solid rgb(51, 89, 142) 3px;
> font-size:1em;
> position:absolute;
> left:12em;
> top:1.1em;
> //    left:11em;
> //    top:2.5em;
> }

It might 'work', but it's not valid. Tantek's & Andrew's hacks take
advantage of the fact that certain browsers choke on -valid- css.

--
kevin c smith                                      tel: 410.571.9462
[EMAIL-REMOVED]                             http://www.tatnet.com
Previous Message
Next Message

Message thread: