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?

(Firebug issue 199 http://code.google.com/p/fbug/issues/detail?id=199)
Thanks,
jjb


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans nom</title>
<style type="text/css">
div {
        font-size:10px !important;
}
a {
        font-size:36px;
}
</style>
</head>

<body>
<div>My DIV<a href="">My Link</a></div>
</body>

</html>
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to