Hello folks!
Why doesn't the left padding of the second div work in the following piece of html?
Thanks.
Jasper
edit: it works in IE, not in Firefox
Why doesn't the left padding of the second div work in the following piece of html?
| Code: |
| <body style="margin:0px; padding:0px;">
<div style="height:100%; width:170; float:left; border-width: 0px 4px 0px 0px; border-color: #000000; border-style:solid; padding: 5px;">hallo</div> <div style="height:100%; padding-left: 5px; padding-top: 5px;">hallo</div> </body> |
Thanks.
Jasper
edit: it works in IE, not in Firefox
