Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Space showing below wrapper that can't be seen with Firebug
Old 06-16-2012, 05:17 PM Space showing below wrapper that can't be seen with Firebug
Average Talker

Posts: 26
Name: Jen Starbuck
Trades: 0
I'm working on the page: http://starbuckrealtygroup.com/template-wide.php

The grass is supposed to be a background image positioned on the bottom. However, there is space showing below it. When I try to locate the problem with Firebug, the space is no longer there. How can I get the grass to show at the bottom of the page with no space underneath?

Thanks!
jstarbuck is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-16-2012, 05:38 PM Re: Space showing below wrapper that can't be seen with Firebug
lizciz's Avatar
Super Spam Talker

Posts: 845
Name: Mattias Nordahl
Location: Sweden
Trades: 0
The problem is that your wrapper isn't big enough to reach the bottom of the screen, since you don't have much content at the moment. But if you bring up firebug (or just resize the window), the wrappers' height will be enough to reach the bottom and it looks as it should.

To fix it, you'll want to add 100% height to body and html, as in
Code:
html, body {
    height: 100%;
}
And also add 100% minimum height to the wrapper, as in
Code:
.wrap {
    min-height: 100%;
}
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 06-16-2012, 05:46 PM Re: Space showing below wrapper that can't be seen with Firebug
lizciz's Avatar
Super Spam Talker

Posts: 845
Name: Mattias Nordahl
Location: Sweden
Trades: 0
And on an unrelated topic, I see no reason why your .content div needs float:left;. You could remove that, and also the clearing div underneath it.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 06-16-2012, 06:31 PM Re: Space showing below wrapper that can't be seen with Firebug
Average Talker

Posts: 26
Name: Jen Starbuck
Trades: 0
Thanks for your quick response! I tried doing as you suggested and it does keep the grass at the bottom of the page. However, it allows the grass to move to the height of the bottom of the window instead of being say 200px below the content area. (Meaning that the grass shows in the middle of the content box when you make the window that small). Any suggestions?
jstarbuck is offline
Reply With Quote
View Public Profile
 
Old 06-16-2012, 07:01 PM Re: Space showing below wrapper that can't be seen with Firebug
lizciz's Avatar
Super Spam Talker

Posts: 845
Name: Mattias Nordahl
Location: Sweden
Trades: 0
That is because you set the wrappers' height too 100%, basically locking its size to the size of your window, instead of setting its min-height to 100% which would allow it to grow when needed.

Also, about the note I made about the float:left; on your .content; I just noticed you have that on .wrap and .footer-top aswell. Those too could be removed without affecting the layout, as could the clearing div.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.

Last edited by lizciz; 06-16-2012 at 07:03 PM..
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 06-16-2012, 07:38 PM Re: Space showing below wrapper that can't be seen with Firebug
Average Talker

Posts: 26
Name: Jen Starbuck
Trades: 0
That did the trick!! Thank you so much!!! Your fix actually allowed me to see a flaw on another template of our site (only seen on larger monitors when the screen is zoomed out). Thanks again :-)
jstarbuck is offline
Reply With Quote
View Public Profile
 
Old 06-17-2012, 02:48 AM Re: Space showing below wrapper that can't be seen with Firebug
lizciz's Avatar
Super Spam Talker

Posts: 845
Name: Mattias Nordahl
Location: Sweden
Trades: 0
You're welcome
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Reply     « Reply to Space showing below wrapper that can't be seen with Firebug
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31490 seconds with 11 queries