Previous Message
Next Message

Re: [css-d] Simplified Box Model Hack

Sent by Geoff Sheridan on 2 September 2002 18:06


I think you're right. I also think it can be further simplified to:

div.content {
     [... other properties ...]

     width: 400px;      /* for IE5/Win */
     w\idth: 300px;      /* for good browsers */
}
...Because I don't think there *are* any browsers which don't support 
escapes and yet have worthwhile support for the box model. Prove me 
wrong!

Geoff

At 1:01 pm -0400 2/9/02, Kentaro Kaji wrote:
>I must be missing something, but wouldn't the SBMH also work like this?
>
>div.content {
>     [... other properties ...]
>    
>     width: 300px;       /* for browsers with no escapes at all */
>     \width: 400px;      /* for IE5/Win */
>     w\idth: 300px;      /* for good browsers */
>}
>
>...?
>
>happily yours, ken
>
>  > From: http://and.doxdesk.com/personal/posts/css/20020212-bmh.html
>>
>>  div.content {  width: 300px; } /* for browsers with no escapes at all */
>>  div.content { \width: 400px; } /* for IE5/Win */
>  > div.content { w\idth: 300px; } /* for good browsers */
Previous Message
Next Message

Message thread: