Hi Tom,

Thanks for that solution, but unfortunately it doesnt work, because i get a horizontal scrollbar at the bottom of the page, in both Firefox and IE. Does anyone else have any solutions for this?

Thanks

Josef

Tom Livingston wrote:
This worked for me:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
#main{width:100%; padding:0 50px 0 50px; margin:0;}
#left{width:45%; background-color:#FF0000; padding:0; margin:0; float:left;}
#right{width:45%; background-color:#00FF00; padding:0; margin:0 0 0 45%;}
</style>
</head>

<body>

<div id="main">
<div id="left">&nbsp;<br></div>
<div id="right">&nbsp;<br></div>
</div>
</body>
</html>


On Feb 4, 2005, at 11:29 AM, Tom Livingston wrote:

hmm. Then left and right won't really be 50% each. More like 50% minus 100px. Maybe play with %s on those 2. Seems like it won't be pixel-perfect. Seems like you would need wiggle room.

HTH... a little maybe?? :-P

------------------------
Tom Livingston
Senior Multimedia Artist
Media Logic
mlinc.com


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



--
-------------------------------------------------------------------------------------------------------

Josef Dunne
Web Developer


w: http://www.burninthespotlight.com

Get Firefox!

-------------------------------------------------------------------------------------------------------
THIS EMAIL MAY CONTAIN CONFIDENTIAL OR LEGALLY PRIVILEGED INFORMATION.
IF YOU ARE NOT THE NAMED ADDRESSEE YOU MUST NOT USE OR DISCLOSE SUCH
INFORMATION.
-------------------------------------------------------------------------------------------------------

Reply via email to