Hi all
I've seen the use of "*", ">" and "," in CSS sample pages and templates on help sites. What do they mean and how are they used?
Hi all
I've seen the use of "*", ">" and "," in CSS sample pages and templates on help sites. What do they mean and how are they used?
Sounds like you need some guidance in CSS, try these pages for help CSS Tutorial and CSS Tutorial.
Seen a good post - give some reputationKeeping the forum clean - SPAMMERS BEWARE!!
Those are advanced CSS selectors. * denotes a wildcard, such as when I do this:
Which constitutes a global CSS reset; however, it should be avoided as it puts strain on the server to render all of it.Code:* { margin: 0; padding: 0; }
The > is a selector, such as ul > li, and such.
The , just separates values, such as a, a:hover, which will have common properties.
Bookmarks