Closed
Bug 342867
Opened 19 years ago
Closed 19 years ago
The "padding" style is not applying correctly when 3 recursive "DIV" in page.
Categories
(Toolkit :: View Source, defect)
Tracking
()
People
(Reporter: besd, Unassigned)
Details
Attachments
(1 file)
238 bytes,
text/html
|
Details |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.12) Gecko/20050919 Firefox/1.0.7
<div style="width: 200; height: 200; border: 1px solid black;">
<div style="width: 100%; height: 100%; padding: 15px;">
<div style="width: 100%; height: 100%; background-color: red; border: 1px solid black;">
</div>
</div>
</div>
Reproducible: Always
Steps to Reproduce:
1.Run sample of the code in Details.
2.
3.
Comment 2•19 years ago
|
||
Unexpected, maybe, but not incorrect: "width:" specifies the content-width, not the box-width, so your second div is 100% of 200, with the padding added on outside that.
*** This bug has been marked as a duplicate of 50449 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•17 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•