FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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
Related topics
I Have a question . Is it the server support Chinese?
Question before requesting free hosting
question abt posts/mth
Kinda dumb question regarding DNS
A question
UT2004 U like the game? Do u have any question post here.
Question about DNS!
Question about Domain!
another uni.cc question
Question
Question abt lang. support...
question!!!!!!
A question about Naruto
C++ Question
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

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