1.

Solve : Adding scrolbar to bottom of HTML?

Answer»

Is there a code for adding scroll bar to bottom not the side of a HTML document?

JohnScroll bars automatically appear as needed.  In other words, if you page is too large, in width, to be displayed in the browser window on a computer, then the horizontal scroll bar will automatically appear. Likewise, the VERTICAL scroll bar works the same way.  So, there's no need for a web designer to use some technique to force a scroll bar to appear on a page. A horizontal scroll bar is a no-no for web designers anyway.I wrote  document in HTML it is basically all links in the form of PARAGRAPHS and as you take the mouse and make your window narrower the contents in the window just squeeze narrower, a 10" wide paragraph becomes 2" wide just more pages down, this doesn't seem right?

JohnIf you don't want the size or layout of the page to change, use percentage widths and sizes with everything instead of fixed widths and sizes. Quote from: kpac on JANUARY 21, 2010, 10:47:58 AM

If you don't want the size or layout of the page to change, use percentage widths and sizes with everything instead of fixed widths and sizes.
  kpac, he'd need to do just the opposite to stop the behavior, he'd need to use fixed width, not percentage.No, sorry, I worded it wrong....

If you don't want the page to overflow then use percentage widths. Quote from: John1397 on January 21, 2010, 10:45:47 AM
I wrote  document in HTML it is basically all links in the form of paragraphs and as you take the mouse and make your window narrower the contents in the window just squeeze narrower, a 10" wide paragraph becomes 2" wide just more pages down, this doesn't seem right?
What he's SAYING here is that no scroll bar appears because the page width adapts to the size of the browser window.  This is the behavior he will see with page width set to 100%, right?  In other words, the contents of the page will be shifted around to fit whatever window size the browser is set at.

This is not what he wants. He wants the page contents to remain in place when a visitor shrinks their browser window.  By using a fixed width, the objective will be accomplished.  And, a scroll bar will appear at the bottom of the window if the SITE visitor shrinks their browser window to, or their screen resolution is, less than the fixed width coded in the HTML file. i think u can achieve it by using overflow option in CSS


Discussion

No Comment Found