News:

Wondering if this will always be free?  See why free is better.

Main Menu

Overflow problem

Started by Tyris, December 24, 2003, 02:55:10 AM

Previous topic - Next topic

Tyris

having an overflow problem as can be seen at http://www.nintengu.net/forums/index.php
Basically... top right... the news segment...
I want it to have a vertical scrollbar if needed, however when the vertical scrollbar renders, instead of wrapping the text horizontally to fit the now "slightly" smaller box, it just adds a horizontal bar :(

I'm sure I remember [Unknown] saying he used some JS to get it working in the code boxes here (tho horizontally)... anyhow... if anyone could share an answer (ie: no horizontal scroll bar AND have the text wrapped so none is cut off) I'd be greatly appreciative.

Tyris

hmmm... managed to find a dodgy fix ;D

basically:
<div style="z-index: 3; position: absolute; left: 483px; top: 13px; height: 146px; overflow: scroll; overflow-x: hidden;">
  <table height="100%" style="margin-right: 14px;" border="0">

Important parts being overflow-x: hidden, and the right margin of the table to move all the content out from behind the scrollbar

In Mozz it leaves a bit of space (the 14px) to the right... but myeh, better tha nothing...

However, if anyone has a better fix.. plz post ;D

Advertisement: