Charas-Project

Off-Topic => Really Old Stuff => Archive => HTML & DHTML => Topic started by: Fortet on August 29, 2007, 01:55:58 AM

Title: Scroll bars in frames
Post by: Fortet on August 29, 2007, 01:55:58 AM
Can somebody help me?
I need to know the coding for a scroll bar.
Anybody know it?
Title:
Post by: Osmose on August 29, 2007, 02:18:03 AM
Be a little more specific. Most if not all browsers will hide the scrollbar unless it is actually needed, in which case it adds it in - you don't "code" the scrollbar yourself if that's what you're asking.

A little more of an idea as to what you want to do and where would help.
Title:
Post by: Phayre on August 29, 2007, 04:06:20 AM
Or did you want like a CSS/java scrollbar, with images or something? Or recoloring it with CSS? All kinds of wondrous things to do with the lovely scrollbar.
Title:
Post by: Fortet on August 29, 2007, 10:29:30 AM
Say I want a table to remain a certain size, but more text is placed in it than it could hold in it's set size. Would a scroll bar appear on it's own? Or would I need to use some JavaScript/CSS?
Title:
Post by: Osmose on August 29, 2007, 11:27:44 AM
The easiest way to do that would be to add the CSS property overflow: scroll. Such as (<>s are changed to ()s):

(table style="overflow: scroll;")

CSS is funky sometimes, though, and may not act properly. Try it to see if it works first, though.
Title:
Post by: Fortet on August 29, 2007, 08:52:41 PM
Tried it...
I can't seem to get it to work for some reason.
This is driving me crazy >_<