Designing a Website with no Scroll Bars, how?

M

Mike

I'm using FrontPage 2003. With my Website, my preference is to have a black
background with white text. When I view the page I have created using
Internet Explorer, I press F11 to vie the whole page (removing the Address
and Toolbar), from the top right to bottom right I have a white Scroll Bar
which to me spoils my entire black screen. Is there some code I can insert
to remove the right-hand side Scroll Bar totally. (I do understand that if
I manually resize the window the Scroll Bars, bottom and right hand side
appear automatically) but viewing my site full screen I want to totally
remove the Scroll Bars).

Help please.
Thanks
Mike
 
S

Steve Easton

Make the scroll bar background match your page using CSS

<style type="text/css">
scrollbar-arrow-color: rgb(0,0,255);
scrollbar-base-color: rgb(0,128,128);
scrollbar-track-color: rgb(211,253,254);
scrollbar-darkshadow-color: rgb(0,128,128);
scrollbar-face-color: rgb(211,253,254);
</style>

change the colors as desired. You can use rgb as the example shows, hex #000000 or common color
names, red, green, blue etc.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
M

Mike

Emailed you a thanks Steve.

To be honest, I've looked up what a CSS page is and I'm totally lost.
Haven't a clue. How you implement the code into a new single web page, I
tried it but it didn't work for me. Also when I opened a new CSS page there
was nothing I could do to add text/pictures etc. Is CSS a programming
language?

Mike
 
S

Stefan B Rusynko

Vertical Scroll bars will always be visible in IE,
and Horizontal will be visible if your page content exceeds the screen size




| I'm using FrontPage 2003. With my Website, my preference is to have a black
| background with white text. When I view the page I have created using
| Internet Explorer, I press F11 to vie the whole page (removing the Address
| and Toolbar), from the top right to bottom right I have a white Scroll Bar
| which to me spoils my entire black screen. Is there some code I can insert
| to remove the right-hand side Scroll Bar totally. (I do understand that if
| I manually resize the window the Scroll Bars, bottom and right hand side
| appear automatically) but viewing my site full screen I want to totally
| remove the Scroll Bars).
|
| Help please.
| Thanks
| Mike
|
|
 
M

Mike

Vertical and Horizontal Scroll Bars may always be there, perhaps there is no
way of disabling them, perhaps there is I don't know. Perhaps someone does?
But the way I've gotten around it is to set all the colors for the Scroll
Bar the same color as the background of the page. In my case my site has a
black background so adding the following code sets all changable Scroll Bar
colors to black; my page(s) never exceed the size of the page to need scroll
bars. This code works perfect.

<style type="text/css">
body {scrollbar-arrow-color: black; scrollbar-base-color: black;
scrollbar-dark-shadow-color: black; scrollbar-track-color: black;
scrollbar-face-color: black; scrollbar-shadow-color: black;
scrollbar-highlight-color: black; scrollbar-3d-light-color: black;}
</style>
 
C

Chris Darnell

There is a way to disable the scrollbars, but it requires JavaScript. Do to this, you would call the window.open() method (http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp). The only problem: This wouldn't solve your problem if your Homepage had to exhibit the same scrollbar functionality. This would only work for pages that are linked from another page. Additionally, you'd have to understand how JavaScript is used along with normal HTML. Another thing to note, this may only work with IE. I'm not certain about how well that is supported on other browsers.

You may have to settle with the fact that there is not much that you can do directly to a browser's window. With the browser "sandboxes" (i.e. security permissions), there is very little that you can do. The best thing you can do is to design your pages so that the contents fit within a standard resolution, such as 800x600. At least that way the vertical scrollbar won't be active.

Sorry I can't help any further than that.

Chris Darnell

-----------------------------------------------------

I'm using FrontPage 2003. With my Website, my preference is to have a black
background with white text. When I view the page I have created using
Internet Explorer, I press F11 to vie the whole page (removing the Address
and Toolbar), from the top right to bottom right I have a white Scroll Bar
which to me spoils my entire black screen. Is there some code I can insert
to remove the right-hand side Scroll Bar totally. (I do understand that if
I manually resize the window the Scroll Bars, bottom and right hand side
appear automatically) but viewing my site full screen I want to totally
remove the Scroll Bars).

Help please.
Thanks
Mike




[microsoft.public.frontpage.programming]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top