John J. Barton wrote:
Firebug displays the CSS for the 'a' tag in the following example with
36px overridden by the 10px with 'important!'. Given that the 'div'
surrounds the 'a', this seems correct to me.
However Firefox displays with link in 36px. Who's correct and why?
...
div {
font-size:10px !important;
}
a {
font-size:36px;
}
The computed font-size of the <a> is 36px. font-size does inherit by
default, but only by default. If it's specified on the node directly,
the computed value is the specified value.
Sounds to me like the firebug display is pretty wrong.
-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout