How opera parses a script?
-
craigtussey last edited by
If I write HTML/CSS/JavaScript using Perl (or PHP or C++) like
print"#deDef {color:#"$whitetext"}\n"; ,
Opera parses this as #deDef {color:"#ffffff"} ,
but won't color text using the deDef ID.
Please help me understand why? -
Deleted User last edited by
#deDef {color:"#ffffff"}
is not valid CSS! Colors in hex notation should not have "" around.
See
http://www.w3.org/TR/CSS2/colors.html
http://www.w3.org/TR/CSS2/syndata.html#value-def-colorIf I write HTML/CSS/JavaScript using Perl (or PHP or C++) like print"#deDef {color:#"$whitetext"}\n";
You should write:
print "#deDef {color:#$whitetext}\n";