Huge white space on right side of layout

This is a discussion on "Huge white space on right side of layout" within the Web Page Design section. This forum, and the thread "Huge white space on right side of layout are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 7th, 2008, 19:48
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 230
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
Huge white space on right side of layout

Hello, On the right side of my layout there is a huge whitespace i can't get it gone. i have npo idea what it is or how to fix it. any ideas will be great. my site is http://www.newbreedjesusfreaks.com/
Last Blog Entry: My blog? (Oct 18th, 2007)
Reply With Quote

  #2 (permalink)  
Old Feb 7th, 2008, 20:08
unitedcraig's Avatar
SuperMember

SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 17
Posts: 825
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Huge white space on right side of layout

Code: Select all
body,html {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    height: 100%;
    width: 100%;
Try adding this to your CSS
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
Reply With Quote
  #3 (permalink)  
Old Feb 7th, 2008, 20:41
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Huge white space on right side of layout

The header has a left margin which I believe is pushing the right margin out.
Change css to:
Code: Select all
#header{

    background: #000066;

    clear: both; 

    margin: 0 0 0 0px; /* pull header into full width*/

    position: relative;

    z-index: 2;

    height: 150px;

    width: 100%;

    border-bottom: 1px solid #004287;

    border-top: 52px solid #000; /* soak up negative margin to make way for footer*/

}
Reply With Quote
  #4 (permalink)  
Old Feb 8th, 2008, 04:06
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 230
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
Re: Huge white space on right side of layout

you are right, but now.... My navbar is beside my header, lol
Last Blog Entry: My blog? (Oct 18th, 2007)
Reply With Quote
  #5 (permalink)  
Old Feb 8th, 2008, 10:58
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Huge white space on right side of layout

You've been hanging around here long enough to almost be able to figure out what my next question is going to be! Why are you using all those absolute positionings? You can see the problems that arise when you attempt to place things pixel by pixel. Everyone of your major Id's, has relative positioning. Try floats. They are so much easier to work with.

You need to take out all the relative and absolutes. For a simple design such as this, you are making things so complicated.

I can go ahead and help you sort out the navigation, but then the very next item is going to need adjusting. And so on and so on.
Reply With Quote
  #6 (permalink)  
Old Feb 9th, 2008, 04:58
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 18
Posts: 230
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mcdanielnc89 Send a message via Yahoo to mcdanielnc89 Send a message via Skype™ to mcdanielnc89
Re: Huge white space on right side of layout

I'm working on that, lol...
Last Blog Entry: My blog? (Oct 18th, 2007)
Reply With Quote
  #7 (permalink)  
Old Feb 10th, 2008, 22:20
unitedcraig's Avatar
SuperMember

SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 17
Posts: 825
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Huge white space on right side of layout

I don't no if your are still working on the code, but it doesn't validate

Just though it point it out seen as you have the W3C buttons on your site
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
Reply With Quote
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ie6 white space under div AndrewChip Web Page Design 1 Jun 11th, 2008 13:15
Add white space using RegEx Access JavaScript Forum 2 Feb 8th, 2008 03:30
Big white space mikemay123 Web Page Design 5 Nov 6th, 2007 00:30
[SOLVED] white-space mcdanielnc89 Web Page Design 5 Oct 8th, 2007 16:48
white space at top of page mdb01 Web Page Design 2 Nov 26th, 2006 21:39


All times are GMT. The time now is 04:03.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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