Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 05-14-2009, 12:41 AM * Selector?!?
Experienced Talker

Posts: 30
Trades: 0
I keep stumbling across people using "*" in their css and I don't really understand what it means or why. I'll see someone type something like:

Code:
* {
margin: 10px;
}
Is it a universal setting or what does it all mean?
samo1215 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-14-2009, 06:37 AM Re: * Selector?!?
Maine_iac's Avatar
Novice Talker

Posts: 6
Trades: 0
Yes you're right, the * is an universal selector.

Code:
*
{
margin:10px;
}
gives everything on the page a 10px margin. :-)
__________________
The beautiful thing about learning is nobody can take it away from you.
Maine_iac is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to * Selector?!?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.18468 seconds with 12 queries