PDA

View Full Version : horizontal scroll using div


middric
02-16-2003, 03:16 PM
I'm trying to insert horizontal scrolling content inside a table cell using a div tag but I'm having problems making it scroll horizontally rather than vertically. I try this:

<div style="overflow-x: scroll; overflow-y: hidden; width: 100px; height: 200px;">content</div>

but the horizontal bar is greyed out and the content still wants to scroll vertically.

What am I doing wrong :confused:

middric
02-16-2003, 05:33 PM
Ah! I just tried nowrap in the td and that did the trick.

Nevermind :rolleyes: