Sent by Christian Heilmann on 2 November 2004 09:09
>
>Is it wrong to write style this way.
><div style="left:10px;" > </div>
>w3c HTML validator seems to have no problem with a ; before " and you what
>do you think?
>
>
>
That is odd. In any case, inline Javascript like that should be a last
resort. By using CSS inline, you strip it from its biggest power:
Allowing all visual presentation to be maintained in one place rather
than each document.
>----
>
>Why we can not put an id to style, head and script ? HTML validor give
>me errors
>
>Can we do it with XHTML?
>
>I used id with head, script and style and try on different browser it
>seems it works, even if we use javascript to have information about them
>
>what do you think ?
>
>
>
Why would you want to do that? None of these elements gets rendered,
therefore applying CSS is useless. If you want to use DOM via Javascript
to manipulate them you can use getElementsByTagName.
>Can we write background: url( ) #cccccc no-repeat 0px 0px" whitout
>problem?
>
>
>
Not sure about the order, but I always use shortcut for background
this way:
background url() 0 0 no-repeat #ccc;
and didn't run into any problems as yet.
HTH
Chris
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/