Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   How to remove scroolbar in html (https://thetfp.com/tfp/tilted-technology/70843-how-remove-scroolbar-html.html)

Nancy 09-29-2004 01:50 AM

How to remove scroolbar in html
 
hey there almighty programmers!

As part of my education as a media graphic artist I have to learn html. I'm currently working on a website but I'll be damned if I can remove the scroolbar that appears when I open the site in Explorer :(

help please? :confused:

crazycousinjim 09-29-2004 02:26 AM

It is generally, from a usability stand point, not good to hide scroll bars unless you are absolutely certain that the content you are displaying is smaller than the smallest screen your viewers will be using. Beleive it or not lots of people still use 800x600, and I have even seen a couple 640x480 browser come across a couple of my sites. One solution is to pop up another window using JavaScript, this will allow you to pretty much customize that windows appearance, size, width, height, scrollbars, toolbars, as much as you wish. But, if after all that you still want to hide you scroll bars you will need to use CSS and make a style that looks like this:

html, body {height: 100%; width: 100%; overflow: hidden;}

SinisterMotives 09-29-2004 03:25 PM

Internet Explorer shows a "grayed out" vertical scrollbar track whether there's actually a scrollbar in it or not. I presume this is what you're referring to. You could try using Microsoft's proprietary CSS properties for scrollbars to change the colors to match your page background. But then the problem becomes: if the content is larger than can be displayed without scrolling, users won't be able to find the scrollbar. It would probably be best to just not worry about it and view the page in Mozilla if it really bugs you that much.

Nancy 09-29-2004 10:08 PM

Quote:

Originally Posted by SinisterMotives
Internet Explorer shows a "grayed out" vertical scrollbar track whether there's actually a scrollbar in it or not. I presume this is what you're referring to. You could try using Microsoft's proprietary CSS properties for scrollbars to change the colors to match your page background. But then the problem becomes: if the content is larger than can be displayed without scrolling, users won't be able to find the scrollbar. It would probably be best to just not worry about it and view the page in Mozilla if it really bugs you that much.

yeah that would be the scroll bar I'm talking about, grrr.

I do use Mozilla at home but the Website is for all my clients to see and I seriously doubt that they use Mozilla so they'll be able to see the scrollbar :|

Nancy 09-29-2004 10:15 PM

Quote:

Originally Posted by crazycousinjim
It is generally, from a usability stand point, not good to hide scroll bars unless you are absolutely certain that the content you are displaying is smaller than the smallest screen your viewers will be using. Beleive it or not lots of people still use 800x600, and I have even seen a couple 640x480 browser come across a couple of my sites. One solution is to pop up another window using JavaScript, this will allow you to pretty much customize that windows appearance, size, width, height, scrollbars, toolbars, as much as you wish. But, if after all that you still want to hide you scroll bars you will need to use CSS and make a style that looks like this:

html, body {height: 100%; width: 100%; overflow: hidden;}

My website is locked to 800x600 so no problem there. But I do fear that the website will look too small with a 1600x1200 resolution :|

thanks for the tip I'll try it out and see if I can make it work :)

dunkelhelmut 10-05-2004 09:18 PM

Can't you get the screen resolution with Javascript? Then can't you resize the window to be just beyond the resolution?

I do agree that removing toolbars will make your users mad. With Firefox, I have all of that JS-based window manipulation disabled.

trevlya006 10-06-2004 04:58 AM

thought it had to do with the fucntions ... scrolling = no ... thats what i was tought...

heres my script from my xanga..

Code:

linknav = window.open('/Subscriptions/SubscriptionBrowser.asp?id=0',
'linknav', 'height=15,menubar=no,resizable=yes,
scrollbars=no,toolbar=no,width=30');

but i would assume that would be java over anything...

and if you were going to write it in an iframe, since iframes are html its like this

Code:

<iframe src="yourpage.html" width="250" height="350" scrolling="no" frameborder="0"></iframe>
but either way its scroll=no haha or 0

SinisterMotives 10-07-2004 05:56 PM

Nancy, if your clients use Internet Explorer, they're used to seeing the greyed-out scrollbar track and won't think twice about it appearing on your site as well. I wouldn't go to extravagant lengths to try to get rid of something no one will notice in the first place. If you over-engineer your site, you're in for a maintenance nightmare down the road.

Herk 10-07-2004 06:02 PM

Quote:

Originally Posted by SinisterMotives
Nancy, if your clients use Internet Explorer, they're used to seeing the greyed-out scrollbar track and won't think twice about it appearing on your site as well.

LOL, well put. Basically, if your clients us IE, they are used to things sucking. :)

Herk

Nancy 10-07-2004 11:27 PM

Quote:

Originally Posted by SinisterMotives
Nancy, if your clients use Internet Explorer, they're used to seeing the greyed-out scrollbar track and won't think twice about it appearing on your site as well. I wouldn't go to extravagant lengths to try to get rid of something no one will notice in the first place. If you over-engineer your site, you're in for a maintenance nightmare down the road.

hmm..I guess you're right. fine - I shall not remove the scrollbar then :)

btw thanks for the help all! :thumbsup:


All times are GMT -8. The time now is 12:42 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73