I recently stumbled across something while using firebug and im not
sure if  its a bug or a bug with firefox etc.

If you set a CSS rule on an element like:

#content hr{
margin:0;
}

and then a class

.changeHR{
margin-top:10px;
}

Firebug will not cross out the margin-top as the rule at the top
actually overwrites it. If you write

.changeHR{
margin:10px;
}

Then it will correctly cross it out.

Just a note: To achieve what I needed, I used this rule:

.changeHR #content hr{
margin-top:10px;
}

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to