View Single Post
Old 11-22-2004, 07:29 AM   #1 (permalink)
d*d
Addict
 
d*d's Avatar
 
CSS padding problems

I'm building a site using CSS and am trying to ensure it displays well on IE and Mozilla/safari. I have mnaged to iron out and find workarounds for most of their incompatibilities but I can not find out why Mozilla adds the padding attached to a box to it's overall width whilst IE does not

ie
#box{
width: 100px
padding: 10px
}
will give a box 100 px wide in IE but 120 px wide with Mozilla

why can't all the browsers just get along with each other isn't that why we have w3c standards>
d*d is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54