Microsoft
Software
Hardware
Network
Question : IE6 padding and width issue
HI,
Currently trying to get IE6 to display thing correctly, it seems to be taking the width or height of an item on the screen and displaying it at the values set in CSS without taking into account the padding set on that item. For example:
height: 160
width: 207
padding: 6, 8, 8, 8
FF is rendering this item with the follwing dimensions:
height: 174
width:223
IE is rendering it at
width:207
height:160
which seems to be an opposite interpretation of the rules.
Thanks for your help
Colin
Answer : IE6 padding and width issue
Actually, padding goes inside the box, and margin goes outside the box, so, if you're getting a 160 by 207 box, then it's doing the right thing. If FF is displaying a larger box, then something is going wrong in FF.
Random Solutions
Sending email from ASP.Net 2.0
C# int with variable as part of int name
Populate an existing PDF form from PHP/MySQL recordset
htaccces more then 10 variables
Cant get vista to view my web site correctly!
IRC SSL certificate verification
loadbalancing ESXi 4
fiddling nose habit
Login control design and Programming
Creating a simple Stored Procedure to check a range value