[thelist] css percentages
Geoff Sheridan
web2k2 at premonition.co.uk
Tue Feb 25 05:46:01 CST 2003
At 11:31 am +0000 25/2/03, Anthony Johnston - Antix wrote:
>wasn't real code, but ta anyway, what I'm trying to get
>at is; using percentages on floated items will never give
>you a flush to the screen effect - when you add a border.
>
>which if is so - is weird, (please say it isn't so).
It ain't so.
Try it!:
<html>
<head>
<title>none</title>
<style type="text/css">
body {margin:0; padding:0;}
div {border:10px solid black; float:right; width:50%;}
</style>
</head>
<body>
<div>la la la</div>
</body>
</html>
Geoff
More information about the thelist
mailing list