Welcome visitor
* Login
* Register
It is currently January 21st, 2019, 11:39 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  * CSS element
PostPosted: August 27th, 2009, 6:32 am 

Posts: 16
Hey, i was looking at the code of some page on the internet and they had a CSS that says
Quote:
*{bla bla bla}

What is the * element?


Top
 Profile  
 
  Re: * CSS element
PostPosted: August 27th, 2009, 6:44 am 

Posts: 117
* is a wildcard and it means all the elements in your document. So you should be careful when using it.

But this is overriden when you add a style to an specific element, e.g.
*{background-color: #000} //everything will have a black background
table{background-color: #fff} //tables will have a white background


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron