...

View Full Version : !1px extra height (Moz)



codegoboom
10-25-2004, 09:54 AM
What's the trick for fitting this to 100%, may I ask?

<body style="margin:0px;padding:0px">
<div style="width:100%;height:20%"></div>
<div style="width:100%;height:80%;border-top:solid 1px black"></div>
</body>

Span
10-25-2004, 12:03 PM
Try a negative 1px topmargin on the second div?

codegoboom
10-25-2004, 12:07 PM
yup :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum