Help - Search - Members - Calendar
Full Version: Need website help...
MSFN Forums > Coding, Scripting and Servers > Web Development (HTML, Java, PHP, ASP, XML, etc.)

   
Google Internet Forums Unattended CD/DVD Guide
Nightlord
First off, here's the site: http://www.sidinginc.com

The problem is that if your screen resolution is too low, you can't see the entire page. Normally, you could scroll down... but that option
doesn't seem to be available. I've checked and rechecked my code and can't figure out what's causing this.
ripken204
do you mean for the left menu? try overflow:scroll
Nightlord
Right... but I don't want the left side to be its own element.
If the left side (the Copyright notice, for example) it off the bottom of the screen,
I want the whole page to be able to scroll down.
Chozo4
What browser are you experiencing this under? Does it occur for other browsers or just a single one?

The whole page itself scrolls just fine for me under IE5.5. However...

CODE
div#left {
    color: #FFFFFF;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 170px;
    height: 100%;
    background-image: url(assets/sidebar_body.png);
    background-repeat: repeat;
    text-align: center;
    }


Seems to be the culprit. Your use of 'position: fixed' is removing the vertical bars from scrolling. Perhaps you should try aligning the left menu inside a table rather than positioning through CSS.
jcarle
QUOTE (Chozo4 @ Sep 30 2007, 02:40 AM) *
Seems to be the culprit. Your use of 'position: fixed' is removing the vertical bars from scrolling. Perhaps you should try aligning the left menu inside a table rather than positioning through CSS.

That's not really the solution. All that really needs to be done is better use of the DIVs. Using fixed is just asking for trouble. You need to nest the divs and set relative spacing for everything to work the way you want.
Idontwantspam
Whooooa. Under Firefox 2.0.0.7 it doesn't scroll. Avoid position:fixed at all costs. It doesn't work well.
deda
English isn't my native idiom.
Try to use percentage width:xx% and so on ; position:relative is useful most times...
ripken204
QUOTE (jcarle @ Sep 30 2007, 10:08 AM) *
QUOTE (Chozo4 @ Sep 30 2007, 02:40 AM) *
Seems to be the culprit. Your use of 'position: fixed' is removing the vertical bars from scrolling. Perhaps you should try aligning the left menu inside a table rather than positioning through CSS.

That's not really the solution. All that really needs to be done is better use of the DIVs. Using fixed is just asking for trouble. You need to nest the divs and set relative spacing for everything to work the way you want.

ya you better listen to this. you can run into huge problems when using fixed/absolute. also if it looks good in one browser, that doesnt mean that it will look good in another..
Idontwantspam
Absolute has often worked fine for me... of course in the standards compliant browsers, like firefox, opera and safari, but even in IE.
fixed gets all mixed up though.
ripken204
QUOTE (Idontwantspam @ Oct 4 2007, 12:59 AM) *
Absolute has often worked fine for me... of course in the standards compliant browsers, like firefox, opera and safari, but even in IE.
fixed gets all mixed up though.

ya absolute usually works but i have ran into some situations where it did not
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.