Hi,
I was recently taking a CSS online exam, and I ran into a question I
have never encountered before.

The multiple choice question question basically asked, "If a CSS rule
is too long on a single line, what character do you use to tell the
style sheet processors that the rule is continued on the next line?"
The possible answers were -, >, \, /, \\.

I couldn't find anything the explicitly answer this question in the
W3C CSS spec, but I am wondering if the question was not quite
detailed enough.
I found these two links, which makes me think the answer is backslash
(\), used on long strings in CSS rules.
http://www.w3.org/TR/CSS21/syndata.html#characters
http://www.w3.org/TR/CSS21/syndata.html#strings

Does this agree with any of your experiences?  Originally, I kept
thinking the question was about a series of long CSS rules on one line
(i.e. display: inline; padding-top: 2px;), but a semicolon would work
there, and it was not one of the answer choices.

Thanks,
Stephen
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to