Jump to content

overflow:scroll


bluetoother

Recommended Posts

Maybe the content inside the <div> has things extending passed your width for your <div>. Try extending your width on your <div> and see if anything changes.

Link to comment
Share on other sites

I'm sorry, I failed to notice your code, obviously I wasn't awake when I posted that. Otherwise I would have been more helpful. lol

Link to comment
Share on other sites

i found the answer in googlei have to use overflow:autoand when the div tag contain text larger than it's heightthe vertical scroll bar will appear
Won't that only work in *some* browsers?Typically you should use:
overflow-y: scroll;overflow-x: hidden;

Solved :)

Link to comment
Share on other sites

Overflow:auto; should work in *all* browsers...http://www.quirksmode.org/css/contents.html#link4
Odd, I remember sometimes in past experience it hadn't exactly worked the way I intended (i.e.: It was nearly identical to overflow: visible). Maybe I'm wrong.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...