FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

padding question

 


jasperlevink
Hello folks!

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
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.