B
Bruno
Hi,
I have a table inside a div elememt which breaks out of the space which the
element uses. The paragraph of text stays within the boudaries specified but
not the table. For some reason the table starts at the right place on the
left but then extends well beyond the viewport on the right. Here is the
code
<style type="text/css">
..main {padding: 10px;
border: 0px;
background:#FFFFCC;
margin: 0px 190px 0px 190px;}
</style>
<div id="main">
<p>Lots of text which wraps fine</p>
<table style="width: 100%"><tr><td></td><tr></table>
</div>
Any ideas?
I have a table inside a div elememt which breaks out of the space which the
element uses. The paragraph of text stays within the boudaries specified but
not the table. For some reason the table starts at the right place on the
left but then extends well beyond the viewport on the right. Here is the
code
<style type="text/css">
..main {padding: 10px;
border: 0px;
background:#FFFFCC;
margin: 0px 190px 0px 190px;}
</style>
<div id="main">
<p>Lots of text which wraps fine</p>
<table style="width: 100%"><tr><td></td><tr></table>
</div>
Any ideas?