scottjohnson
09-08-2006, 11:31 PM
In a CSS file such as test.css, sometimes I see the selectors are prefixed with a '#', or a '*', what do they mean?
#pagebody {
margin: 10px;
}
#instructions{
padding: 2px 8px;
border-bottom:1px solid dimgray;
}
#tab{
position:relative;
top:5px;
left:5px;
}
* html input{
padding: 2px 0 2px 3px; /* starHTMLhack--IEonly (+4px padding needed to match height of select when input{border:1px} */
}
Thanks
#pagebody {
margin: 10px;
}
#instructions{
padding: 2px 8px;
border-bottom:1px solid dimgray;
}
#tab{
position:relative;
top:5px;
left:5px;
}
* html input{
padding: 2px 0 2px 3px; /* starHTMLhack--IEonly (+4px padding needed to match height of select when input{border:1px} */
}
Thanks