CSS - Naming Conventions
Hello,
In my HTML I name the Ids always with Capitalized first letter in each word: Intro, LeftContent, ... I do the same with the CSS: Intro, LeftContent, BlueParagraph, ... I see other variations like using _ between each word. Or capitalizing only the second word and forward. What do you usually do? Is there a more common way than others? Thanks, Miguel Similar TutorialsWhat are the naming rules for CSS? No numbers in class names? Any other char not OK? Hi, I'm working on a dynamically driven site with 2 links: Code: <a href="link1.html" id="Link Mine">Link 1</a> <a href="link2.html" id="Link Yours">Link 2</a> I don't have access to change the IDs on the links (get rid of the spacing in the ID names). Is there any way of styling the 2 links differently in CSS even though there is that space in the ID names? Thanks in advance |