Kevin M Posted May 11, 2007 Share Posted May 11, 2007 Ok, I wouldn't be suprised if this has been asked before. I've been looking around, and had no luck finding some info. Every now and then I see things in the CSS like: div>p {styles} Or body * div#header {styles} Or /*Backslash quote... \*/ And I have no clue what the * and the > and the backslash quotes are for. So if someone has an article or wishes to explain to me what they do, that would be great. I've asked a few people, and they have had no ideas.Thanks,Kevin Link to comment Share on other sites More sharing options...
aalbetski Posted May 11, 2007 Share Posted May 11, 2007 those are selectors Read more here:http://www.w3.org/TR/REC-CSS2/selector.html Link to comment Share on other sites More sharing options...
Kevin M Posted May 11, 2007 Author Share Posted May 11, 2007 Thanks, very much appreciated. :)Quick question, say I wanted to apply something to every heading, would this work: h* {styles} Link to comment Share on other sites More sharing options...
jesh Posted May 11, 2007 Share Posted May 11, 2007 No, but this would: h1, h2, h3, h4, h5, h6 {styles} Link to comment Share on other sites More sharing options...
Kevin M Posted May 12, 2007 Author Share Posted May 12, 2007 Alright, I didn't think it would. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.