html - Firebug can't see display:block attribute of an element? -
html - Firebug can't see display:block attribute of an element? -
i inspecting code on page firebug:
http://www.phppennyauctiondemo.com/
on top right corner, there "register" button , link within it.
when select link firebug, in "style" section of firebug, can't find display:block attribute though know it's there (it can found on "computed" part of firebug says, display: block).
so if links have default inline display, , hasn't been changed css, how come element has display:block? missing here?
if scroll downwards style section element, you'll notice sec rule:
#header .top-menu li { color: #ffffff; float: left; font-weight: 700; padding: 0.35em 0; }
the float
declaration turns link block element, floated elements implicitly display: block
(as computed).
html css firebug
Comments
Post a Comment