How to Add a Text Scrollbar in Dreamweaver 8

Dreamweaver is a powerful but complicated program. With Web design possibilities nearly endless, it can be hard to figure out how to accomplish what seems like a minor task, like adding a scrollbar to a section of text. However, the solution to that problem is simple and easy to implement as many times as you wish.

Instructions

    • 1

      Open the file in Dreamweaver 8 and click on the Code tab at the top of the document window.

    • 2

      Locate the section of text in the file that you wish to add a scrollbar to. Add "<div>" at the beginning of the section and "</div>" at the end of the section.

    • 3

      Inside the first <div>, add style="overflow:auto;" so the entire line looks like this:

      <div style="overflow:auto;">

      This will make a scrollbar appear alongside the text whenever there's too much text to fit the section. If you'd like a scrollbar to appear all the time, regardless of how much text is in the section, change "auto" to "scroll."

    • 4

      Click on the Design tab to see the change go into effect.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured