Closed
Bug 330323
Opened 18 years ago
Closed 18 years ago
display wrong if I use padding-left padding-top in a stylesheet for a DIV layer
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: vila1ro, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ro; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ro; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 when I use .tab { background-image:url(img94x26.gif); top:30px; left:130px; position:absolute; width:94px; height:26px; padding-right:11px; padding-top:7px; } in a stylesheet and <div class="tab"><p align="center">A text</p></div> (for example) somewhere in the <body> of the page, the layer dimension isn't 94x26 (as it should be), the padding-left and padding-right makes the layer bigger instead of putting a distance between the text and the layer's top&right edges, which makes the layer look horible, because the text position is other than it should be and the background image appears more than once to fill the layer's background. IE and Opera display these DIV layers correctly, so I guess you can do something about this.. :) thank you! Reproducible: Always Steps to Reproduce: 1.Please read the details. 2.Try to view my url with other browsers, such as IE or Opera, you'll see the difference. 3.The problem is on the site's navigation bar, which is made using <div> layers. Expected Results: displayed the DIVs incorectly
Duplicate of Core bug 53374/Core bug 298332 -> Core bug 50449 (and Core bug 248269)?
Reporter | ||
Comment 2•18 years ago
|
||
yes.. i didn't notice... *** This bug has been marked as a duplicate of 53374 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•