Then are ALL spaces ignored?
Thanks for that. I appreciate it! It's driven me crazy trying to find a tutorial that includes this issue.
So. Any leading & trailing spaces are then ignored, and the separating space(s) just 'separate' the two (in this case) class names.
That makes life easy then!
User Profile
Collapse
-
Defining and using a class in CSS. About spaces
The question is about spaces.
1. If the code is:
<a class="title newProduct " href="clinician s_rem_sleep_60. html">test here</a>
Q. Is the class "title newProduct " recognised?
I ask this because it the two words are separated by a space and it has a trailing space.
I had always thought that the class name should contain no spaces at all!
cheers
No activity results to display
Show More
Leave a comment: