PDA

View Full Version : bottom scroll



Jerome
10-26-2005, 12:18 PM
In frames main view, the newer pages created have a bottom scroll when many rows and coloumns are used although the pixles add up to less the screen width but when some rows are deleted the scroll disapears. Is there a specific DOCTYPE or other code to fix this?

jscheuer1
10-27-2005, 07:58 AM
What's 'frames main view'?


although the pixles add up to less the screen width

Believe me, if in the browser there is a horizontal scrollbar, the pixels add up to more than the available inner width of the browser window or, in the case of frames, the frame. Many pixels need not be specified in the code, they are assumed for things like page margins, table and cell borders/padding, etc.

There is nothing that will override this behavior except setting the overflow to hidden but, this will render some of your content invisible for browsers and frames narrower than the page, and is best avoided except for special effects that require it.

It is better not to use tables or set widths if they can be avoided, that way content can wrap if necessary.