How to add scroll bar Scroll bars is the vertical and horizontal strips placed along right (by the letter at the left on the right) and the lower windows of edges or the certain area in a window intended for movement of contents in the vertical or horizon

How to add scroll bar Scroll bars is the vertical and horizontal strips placed along right (by the letter at the left on the right) and the lower windows of edges or the certain area in a window intended for movement of contents in the vertical or horizon

is a text in a layer

Here

- the opening tag, and

- closing. Everything that is placed between opening and closing tags, is in a layer as a container and this container can set the sizes - width and height. It becomes by means of the additional parameter ("attribute") style which should be added to the opening tag:

It is the text in a layer

2. Specify in the style attribute of the div tag and rule for layer scroll bars too:

It is the text in a layer

There is overflow: auto means that scroll bars will automatically appear that is when contents of a layer do not find room in given sizes. If to replace auto with scroll, then these bands will be always present irrespective of they are necessary or not. And the hidden value will have opposite effect - scrolling will never appear even if contents of this container will not be visible behind its edges. 3. Apply a similar way and to adding of scroll bars to the page in general. By default they appear as required, but if for any reason there is a need for their constant presence on the page, then it is necessary to add the corresponding rule of style to initial HTML code. Find in the code of the page the closing tag of a heading part of the document and before it enter these style instructions:

Author: «MirrorInfo» Dream Team


Print