| Who | When | What | Removed | Added |
|---|---|---|---|---|
| krudtaa | 2005-08-18 04:36:04 PDT | Summary | Extra "padding" are added to bottom of DIV if you combine padding-left / padding-right with overflow:hidden / overflow:auto. If you remove one of them padding or overflow... then problem is gone. | Extra "padding" are added to bottom of DIV if you combine padding-left / padding-right with overflow:hidden / overflow:auto. If you remove one of them padding or overflow... then problem is gone. |
| martijn.martijn | 2005-08-18 16:34:16 PDT | URL | %0Aheight%3Aauto%3B%20this%20div%20is%20for%20controlling%20padding%20in%20an%20easy%20way%20--%3C%21DOCTYPE%20HTML%20PUBLIC%20%22-//W3C//DTD%20HTML%204.01//EN%22%0A%22http%3A//www.w3.org/TR/html4/strict.dtd%22%3E%0A%3Chtml%3E%0A%3Chead%3E%0A%0A%3Cbr%3E%3Cbr%3E%0A%3Ccenter%3E%0A%3Cdiv%20style%3D%22width%3A40%25%3B%20background-%3E%0A1.%20Make%20the%20DIV%20container%20smaller%20by%20making%20the%20viewport%20smaller.%3Cbr%3E%3Cbr%3E%0AWhy%20does%20overflow%3Ahidden%20/%20overflow%3Aauto%20cause%20extra%20padding%20at%20bottom%20of%20the%0ADIV%20when%20values%20are%20assigned%20to%20either%20padding-left%20or%20padding-Agone.%0AOr%20if%20you%20remove%20padding-left%20and%20padding-right%2C%20extra%20space%20is%20also%0Agone.....%3Cbr%3E%3Cbr%3E%0ACombination%20of%20overflow%3Ahidden%20/%20overflow%3Aauto%20and%20padding-left%20/%20padding-color%3A%23D4DDFF%3B%20margin%3A0%3B%20padding%3A20px%2020px%3B%0Atext-align%3Aleft%3B%20overflow%3Ahidden%3B%20font-family%3Aarial%2Csans-serif%3B%22%3E%20%3C%21--data:text/html;charset=utf-8ill%20text.%20This%20is%20just%20some%20fill%0Atext.%0AThis%20is%20just%20some%20fill%20text.%20This%20is%20just%20some%20fill%20text.%20This%20is%20just%20some%20fill%0Atext.%0AThis%20is%20just%20some%20fill%20text.%20This%20is%20just%20some%20fill%20teis%20is%20just%20some%20fill%0Atext.%0A%3C/div%3E%0A%3C/center%3E%0A%0A%3C/body%3E%0A%3C/html%3Eright%0Aprovokes%20this%20bug.%3Cbr%3E%3Cbr%3E%0AHave%20just%20seen%20this%20bug%20in%20FF....%20Tested%20in%20FF%201.0.6%20and%20FF%201.0.5%20with%20same%20result.%0A%3Cbr%3E%3Cbr%3E%0AThis%20is%20just%20some%20fill%20text.%20This%20is%20just%20some%20fright.%0A%3Cbr%3E%3Cbr%3E%0AThe%20extra%20%22padding%22%20at%20bottom%20gets%20bigger%20if%20you%20make%20the%20div%20smaller.%3Cbr%3E%3Cbr%3E%0AIf%20you%20remove%20overflow%3Ahidden%20/%20overflow%3Aauto%20then%20the%20extra%20space%20at%20bottom%20is%0xt.%20This%20is%20just%20some%20fill%0Atext.%0AThis%20is%20just%20some%20fill%20text.%20This%20is%20just%20some%20fill%20text.%20This%20is%20just%20some%20fill%0Atext.%0AThis%20is%20just%20some%20fill%20text.%20This%20is%20just%20some%20fill%20text.%20Th | |
| CC | martijn.martijn | |||
| bugzilla | 2005-08-19 01:55:43 PDT | Status | UNCONFIRMED | RESOLVED |
| Resolution | --- | WORKSFORME | ||
| CC | bugzilla | |||
| Closed | 2005-08-19 08:55:43 |