Sorry to dash your hopes, but that's just the Universal Selector

http://www.w3.org/TR/REC-CSS2/selector.html#universal-selector


Neerav wrote:

I was trying to think of a way to set the same margin for all elements inside my "content" div at http://www.algae.info/ and decided to try

.content *
{
  margin-left: 15px;
}

Just for the heck of it. To my surprise, this worked in Firefox 0.8, IE6, and Opera 7.23

So have I accidentally stumbled on a perfectly valid use of css, or am I exploiting some bug? Will the margin display properly cross-browsers/platforms ?


Andy Budd

http://www.message.uk.com/

*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************




Reply via email to