Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: scroll bar  (Read 5375 times)

0 Members and 1 Guest are viewing this topic.

natalie

  • Guest
scroll bar
« on: November 02, 2004, 08:34:08 AM »
how do u make a scroll bar go across the screen from side to side instead of from top to bottom?

Corrosive

  • Guest
Re: scroll bar
« Reply #1 on: November 02, 2004, 11:16:47 AM »
Normally that's something I try to avoid rather than encourage, so I'm not sure if these will work.

The simplest way I can see is by putting an image somewhere on your page which is as wide as you need.
The best way is to simply get a single-pixel square transparent GIF image and use the "width" attribute to set it to the required size:
<img src="transparent.gif" width="1200">

The best way, however, would be through the use of stylesheets. It's a broad area to cover here, but it is an incredibly handy skill to have. I like Webmonkey's tutorials a lot, so have a lookie here:
http://webmonkey.wired.com/webmonkey/authoring/stylesheets/index.html

You're specifically looking for CSS Positioning, but it might be best if you have a read of the basics too.

Hope that helps