View Single Post
Old 2005-05-18, 09:28 PM   #13
Barron
You tried your best and you failed miserably. The lesson is 'never try'
 
Join Date: Oct 2004
Posts: 166
The picky bitch!

This works in IE6 and Netscape 7.1


Quote:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<title>Untitled</title>
<style type="text/css">

body {
margin: 0;
padding: 0;
border: 0;
max-width: 100%;
width: 100%;
}

#container {
margin: 0 auto;
width: 5em;
white-space: nowrap;
max-width: 100%; /* for compliant browsers to apply */
display: table;
}


#content {
border: 1px solid black;
padding: 10px;
left-margin:10px;
float: left;

}


</style>
</head>
<body>
<div id="container">
<div id="content">
This is you test asdasd test a;skdjf;laskdjfa;s ldkfja;sdlkfjas;dkflsjadfk asdfsdfsdfsdf<br>
This is my test for lines

</div>
</div>
<!-- need this --><br style="clear: both;">
sfsdfsdfsdf
</body>
</html>
Barron is offline   Reply With Quote