| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| HTML Scrollbar? | |
|---|---|
| Tweet Topic Started: Mar 8 2005, 12:17 AM (603 Views) | |
| sandviper2 | Mar 8 2005, 12:17 AM Post #1 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
How do you make a scrollbar, Can someone supplie me with the code, or give me a link to the code? That would be sick, I was asked to make my school a website, and I don't want anyone having to scroll donw by the browser, but actualy in the website
|
![]() |
|
| Das | Mar 8 2005, 12:54 AM Post #2 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
So you want an area where you put everything in, and then it has its own scroll bar? |
![]() |
|
| Stefan | Mar 8 2005, 08:16 AM Post #3 |
![]()
Mew?
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You can put the stuff you want to have a scrollbar in a fixed-height DIV element, and set the overflow-y style to auto. That would be something like this
|
![]() |
|
| sandviper2 | Mar 8 2005, 07:52 PM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
http://www.freewebs.com/blackbutte/ See were contents is? I have that code in now, and I wan't to have a scrollbar in that section. Insted of on the browser. |
![]() |
|
| yea | Mar 8 2005, 11:52 PM Post #5 |
|
Member
![]() ![]() ![]()
|
woah... wat happened to your site... u obviously dont no wat "contents" is or it would have worked. |
![]() |
|
| Stefan | Mar 9 2005, 08:02 AM Post #6 |
![]()
Mew?
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Whoops, small mistake there. Change overflow-y to overflow. |
![]() |
|
| sandviper2 | Mar 9 2005, 08:17 PM Post #7 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
Thanks, It works now. ![]() Do you know of a way, I can Make it bigger, so that it is to the top and bottom of the table section? |
![]() |
|
| Das | Mar 9 2005, 09:09 PM Post #8 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Size =
|
![]() |
|
| sandviper2 | Mar 9 2005, 11:50 PM Post #9 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
ok, now, Everytime I refresh the page, the width of the Main Contents Section Gets Bigger or smaler, is there a way I can keep it in palace, I have the set hight, and think i have the set width. ~edit~ I fixed that, I didn't have a set width, so i set it. Dose someone know how I could put a nother table section, below but insde the contents one for the copyright? Would It just be a table inside that table section? Or is there a quick way to do it, and valign bottom? I will play with it a bit. Thanks SandViper. HeHe stefan -> :stefan: Thanks for the help. ~edit~ Well, I got it on the bottom by valigning it to bottom, before the TD, but then there is no border, between the Contents and copywrit, Any suggestions? |
![]() |
|
| solinent | Mar 19 2005, 11:21 AM Post #10 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
Well, when I first read this, I would of suggested a textarea. I think you can make them readonly by adding the readonly element: <textarea readOnly> dunno if that's what you want |
![]() |
|
| korn_mosher_4life-ZNS | Mar 19 2005, 03:35 PM Post #11 |
|
the korn mosher 4life
![]() ![]() ![]() ![]() ![]() ![]()
|
when I read the topic I thought you were talking about the scroll bar color and crap. |
![]() |
|
| Cool Dude 2k | Mar 19 2005, 10:36 PM Post #12 |
|
<?php echo "Linux"; ?>
![]() ![]() ![]() ![]()
|
You can use ether readonly or disabled to make it readonly.
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
5:41 AM Jul 11
|



![]](../../../../0/1/0/p601690/pipright.png)





5:41 AM Jul 11