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 10-26-2011, 05:39 PM   PM User | #1
NateG
New Coder

 
Join Date: Oct 2011
Location: Utah
Posts: 37
Thanks: 19
Thanked 0 Times in 0 Posts
NateG is an unknown quantity at this point
Angry Everything Overhanging Browser Window Disapears

I am having this weird problem. When you open the page it looks fine, but if you condense your browser window and use the horizontal scroll bar a problems appears. Whatever was overhanging the browser window in the background disappears.

http://dl.dropbox.com/u/14080718/tes...periment3.html

I am pretty new to web design and there may be a better way to set this page up, so any suggestions anyone could give would be helpful. I have had a few developers look at it and they dont know what is going on either.
NateG is offline   Reply With Quote
Old 10-26-2011, 05:46 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello NateG,
Width: 100%; is the width of the browser window when your site is loded. When you scroll past that, you're going past 100% so you just see the body background color.

Try not specifying a width and repeat your bg image on the x axis.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Users who have thanked Excavator for this post:
NateG (10-26-2011)
Old 10-26-2011, 06:21 PM   PM User | #3
NateG
New Coder

 
Join Date: Oct 2011
Location: Utah
Posts: 37
Thanks: 19
Thanked 0 Times in 0 Posts
NateG is an unknown quantity at this point
Thanks for the help.

Would you make the bars background images?

I tried to get rid of the width, but it just gets rid of the bars all together.

I have found that the width:100%; seems to work fine if I take the <nav> and <erasers> divs out. It also seem to work if I just delete the contents of <nav> and <erasers>. Not sure why. Could it be that the positioning is interfering with something?

http://dl.dropbox.com/u/14080718/testing/bars.html

Any ideas?

Last edited by NateG; 10-26-2011 at 06:25 PM..
NateG is offline   Reply With Quote
Old 10-26-2011, 06:53 PM   PM User | #4
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Quote:
Would you make the bars background images?
I would, just for simplicity. That's a lot of work you're going through to put all that together when it could just be a logo and your h1 on top of a background image.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Users who have thanked Excavator for this post:
NateG (10-26-2011)
Reply

Bookmarks

Tags
css, html, nate gines, overflow, overhang

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:48 AM.


Advertisement
Log in to turn off these ads.