On May 10, 2006, at 6:29 PM, Gregor wrote:

> I have noticed that Safari had problems when I put comments inside the
> class bracklets or when using the slash workaround for IE.
> Here are some examples where safari presumably had problems.
>
> .someclass { text-align:justify;
>                /*padding:7px; i don't need this right now*/
>                margin:10px;
>               }
>

That is a perfectly valid comment and Safari has no problems with this

> .othercase { text-align:justify;
>                width:100%;
>                min-width:500px;
>                /width:500px;
>                float:left;
>               }

Your /width:500px; rule is invalid syntax. Safari, and other decent  
browser will ignore the whole rule, up till the semi-column rule- 
separator.
I suppose you meant to use this kind of syntax: \width:500px;
(using an escape character).
Safari will handle this syntax the same way as any other decent  
browser (Firefox, Opera,...).


>
> I'm not sure also how two succseding comment lines affect the  
> reading like
>
> body { ... }
> h1 { ... }
> /* here ends the basic section */
>
> /* start of classes used inside the #head div */
>

Again, Safari will handle this correctly, and ignore the 2 lines.

Do you have a URL illustrating problems like this ?
It might be more easier to understand your problems.


Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to