PDA

View Full Version : Any HTML wizards out there?


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. :)

traction
09-16-2005, 10:29 AM
Hi!
I have taken a look at your code in FF and IE and the only difference I can see in them is in FF you get a vertical scroll bar but the output is the same.

Can you try and explain a bit more about what you are trying to get, maybe provide us with an online demo?

O.

lostinfr
09-16-2005, 11:52 AM
Hi Traction,

Thanks for looking at it :)
I think it's my cms (xoops or should be oops :D )
It works ok as a static page but with firefox it doesn't work in xoops for some reason. Also I can't figure out how to get rid of the horizontal scroll bar, you can have a look here http://www.catchthelight.co.uk/xoops2/

username: testing
password: testing

traction
09-19-2005, 05:54 AM
Have a look here :
http://www.sitepoint.com/forums/showthread.php?t=285181

Have you tried to do an overflow-x or overflow-y: hidden; in you CSS?

Owain.