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 04:44 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, 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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360