Thursday, November 24, 2011

About html how to put a table and the scoll bar on the horizontal bottom side?

i just need to know how to put a scroll bar on the horizontal side but not the vertical side|||hi, the scroll bar is automatic. i don't know if you can do much control over it. but i think it's possible to disable it completely. well anyway as for your question; what are you trying to do? if your content will span horizontally and not break then the horizontal scrollbar will be displayed. otherwise, if it does break and cannot anymore be contained within the height of the browser then the vertical scrollbar is displayed.





you can place %26lt;nobr%26gt;%26lt;/nobr%26gt; tags to force content not to break even if it cannot anymore be contained within the width of the browser window.





for example:


--------------------------------------鈥?br>

a very long text which will break somewhere within this line of characters depending on the width of the browser window





%26lt;nobr%26gt;placing a nobr tag would force this line of text not to break but instead span past the browser width which will result in the horizontal scrollbar being displayed%26lt;/nobr%26gt;


--------------------------------------鈥?br>




the first paragraph will break while the second will not. try it to see. hope this helps. thanks.

No comments:

Post a Comment