Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-20-2005, 06:56 PM   PM User | #1
niemie
Regular Coder

 
Join Date: Nov 2004
Posts: 101
Thanks: 1
Thanked 0 Times in 0 Posts
niemie is an unknown quantity at this point
Wrapper shifts slightly left and right on various pages

My gut says _Aerospace_Eng_ helps me out with this (like usual) - but I am having some sort of trouble with my entire content shifting slightly left and right - the entire wrapper actually. It seems that when the content stretches down fairly far towards the bottom, it does not shift, but when it does not, if shifts slightly to the right.

Example watch how these two pages behave, if you go back and forth you will see the second one bumps over to the right. I tried putting a "spacer" div in the content area to make sure it was filling past a certain point, but that did not seem to do the trick:


http://www.ricochetnetwork.com/index1.htm
http://www.ricochetnetwork.com/overview.htm
niemie is offline   Reply With Quote
Old 07-20-2005, 07:43 PM   PM User | #2
Graft-Creative
Regular Coder

 
Graft-Creative's Avatar
 
Join Date: Aug 2004
Location: Web Designer - North East Lancashire U.K.
Posts: 842
Thanks: 0
Thanked 0 Times in 0 Posts
Graft-Creative will become famous soon enough
Looks fine to me, are you sure it's not just the scrollbar disappearing on the shorter page?

Gary
__________________
'cna ne1 plz giv cod'
Graft-Creative is offline   Reply With Quote
Old 07-20-2005, 07:45 PM   PM User | #3
niemie
Regular Coder

 
Join Date: Nov 2004
Posts: 101
Thanks: 1
Thanked 0 Times in 0 Posts
niemie is an unknown quantity at this point
You're right - I didn't notice that until you said so but in FF the scrollbar disappears and it does not in IE. Is the only fix for this to make sure the page is long enough for a scroll bar?
niemie is offline   Reply With Quote
Old 07-20-2005, 07:47 PM   PM User | #4
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,292
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
You could turn on scrolling all of the time but You might get a horizontal scrollbar to that does nothing.
_Aerospace_Eng_ is offline   Reply With Quote
Old 07-20-2005, 07:48 PM   PM User | #5
Graft-Creative
Regular Coder

 
Graft-Creative's Avatar
 
Join Date: Aug 2004
Location: Web Designer - North East Lancashire U.K.
Posts: 842
Thanks: 0
Thanked 0 Times in 0 Posts
Graft-Creative will become famous soon enough
There's no problem to fix really Just one of those things.

Gary
__________________
'cna ne1 plz giv cod'
Graft-Creative is offline   Reply With Quote
Old 07-20-2005, 07:50 PM   PM User | #6
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,292
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Agreed. People who know their browser know that things like this happen. Users really take no account into the scrollbar being added or not.
_Aerospace_Eng_ is offline   Reply With Quote
Old 07-20-2005, 07:55 PM   PM User | #7
niemie
Regular Coder

 
Join Date: Nov 2004
Posts: 101
Thanks: 1
Thanked 0 Times in 0 Posts
niemie is an unknown quantity at this point
Maybe it's just me, but I see this as an annoyance in FF (about the only one I can think of). I much prefer the way IE handles this by just graying out the vertical scroll bar so it doesn't jar the page over 20px back and forth. I think I'll just use the spacer DIV to make sure the scroll bar appears.....
niemie is offline   Reply With Quote
Old 07-20-2005, 08:06 PM   PM User | #8
Ranger56
Regular Coder

 
Ranger56's Avatar
 
Join Date: Mar 2005
Location: Kent, WA.
Posts: 783
Thanks: 0
Thanked 0 Times in 0 Posts
Ranger56 is an unknown quantity at this point
I had that problem too, but then i noticed the scroll bar!

I really like your site.
__________________
Ranger56 is offline   Reply With Quote
Old 07-20-2005, 08:08 PM   PM User | #9
niemie
Regular Coder

 
Join Date: Nov 2004
Posts: 101
Thanks: 1
Thanked 0 Times in 0 Posts
niemie is an unknown quantity at this point
Quote:
Originally Posted by Ranger56
I had that problem too, but then i noticed the scroll bar!

I really like your site.
What did you do to "fix" it? Just make sure your content div stretches far enough to force scroll?

Hey thanks, I really appreciate that. I'm still not done, I am shooting for clean but thinking it might be a bit to much white - might have to put a very slight gray background for the body and leave the interior content parts white... I dunno though.
niemie is offline   Reply With Quote
Old 07-20-2005, 08:41 PM   PM User | #10
niemie
Regular Coder

 
Join Date: Nov 2004
Posts: 101
Thanks: 1
Thanked 0 Times in 0 Posts
niemie is an unknown quantity at this point
So just to be sure - is there no way to dynamically resize in CSS based upon the scroll bar being there or not?
niemie is offline   Reply With Quote
Old 07-20-2005, 09:27 PM   PM User | #11
niemie
Regular Coder

 
Join Date: Nov 2004
Posts: 101
Thanks: 1
Thanked 0 Times in 0 Posts
niemie is an unknown quantity at this point
Ok, how about this:

I added this to my CSS body: min-height: 101%;

IE seems to ignore this and this foreces FireFox to have a scroll bar.
niemie is offline   Reply With Quote
Old 07-20-2005, 09:42 PM   PM User | #12
Ranger56
Regular Coder

 
Ranger56's Avatar
 
Join Date: Mar 2005
Location: Kent, WA.
Posts: 783
Thanks: 0
Thanked 0 Times in 0 Posts
Ranger56 is an unknown quantity at this point
Quote:
Originally Posted by niemie
What did you do to "fix" it? Just make sure your content div stretches far enough to force scroll?

Hey thanks, I really appreciate that. I'm still not done, I am shooting for clean but thinking it might be a bit to much white - might have to put a very slight gray background for the body and leave the interior content parts white... I dunno though.

Nothing!
__________________
Ranger56 is offline   Reply With Quote
Old 07-20-2005, 11:40 PM   PM User | #13
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,292
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
niemie thats probably the best option if you want to fix it. A thread was posted recently about the page shift. There is a link in there that explains what you could do both from a developer point of view and a user point of view. http://www.codingforums.com/showthread.php?t=64033
_Aerospace_Eng_ is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:38 PM.


Advertisement
Log in to turn off these ads.