lostinfr
08-18-2005, 09:21 AM
Hello, I'm trying to make a table with a vertical scroll bar to use as a block in a cms system, I've got this far and it works perfectly in IE but in firefox the whole page overlaps with a horizontal scrollbar every second click (I've tried taking the 85% width down but it still happens. :confused:
<div style="overflow: auto;height: 200px; width: 85%;">
<table style="width: 100%;" cellpadding="5" cellspacing="5">
<tr>
<td>
picture</td>
<td>blah blah blah blah<p>blah blah blah blah</p>
<p>blah blah blah blah</td>
</tr>
<tr>
<td>.picture</td>
<td>blah blah blah blah<p>blah blah blah blah</p>
<p>blah blah blah blah</td>
</tr>
<tr>
<td>
picture</td>
<td>blah blah blah blah<p>blah blah blah blah</p>
<p>blah blah blah blah</td>
</tr>
</table>
</div>
Hmmm :rolleyes: Well that's kind of how I want the table to display but I was trying to quote the code not display the outcome - is there a way to disable html when posting a message? - I've attached the code as a text file instead. :)
<div style="overflow: auto;height: 200px; width: 85%;">
<table style="width: 100%;" cellpadding="5" cellspacing="5">
<tr>
<td>
picture</td>
<td>blah blah blah blah<p>blah blah blah blah</p>
<p>blah blah blah blah</td>
</tr>
<tr>
<td>.picture</td>
<td>blah blah blah blah<p>blah blah blah blah</p>
<p>blah blah blah blah</td>
</tr>
<tr>
<td>
picture</td>
<td>blah blah blah blah<p>blah blah blah blah</p>
<p>blah blah blah blah</td>
</tr>
</table>
</div>
Hmmm :rolleyes: Well that's kind of how I want the table to display but I was trying to quote the code not display the outcome - is there a way to disable html when posting a message? - I've attached the code as a text file instead. :)