View Single Post
Old 09-29-2004, 02:26 AM   #2 (permalink)
crazycousinjim
Crazy
 
Location: Copenhagen, Denmark
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;}
crazycousinjim is offline  
 

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