/    Sign up×
Community /Pin to ProfileBookmark

Footer shadow and page height

I have two questions; sorry for combining here but I think they’re both pretty quick answers for anyone who know a little more than me.

#1 – Please see URL: [url]http://backstageweb.net/RiskSciences/contact.htm[/url] (bottom of page)

What do I need to do to get rid of the gap separating the wrapper and the “bottom” div:

HTML

[CODE]</div><!–end “content”–>
<div id=”footertag”>
<p class=”footertext”>&copy; Copyright – riskSciences.net, LLC. All rights reserved.</p>
</div>
</div><!– end container –>
</div><!– end wrapper –>
<div id=”bottom”></div>
</body>
</html>[/CODE]

CSS:

[CODE]#footertag {
margin:0 auto;
background-color:#fff;
width:800px;
}

.footertext {
font-family:Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight:normal;
color:#666666;
text-align:center;
padding:22px 0;
}

#bottom {
background:url(images/PageBottom.png) no-repeat bottom left;
width:828px;
height:17px;
margin:0 auto;
padding:0;
}[/CODE]

#2 – Please see URL: [url]http://backstageweb.net/RiskSciences/contact3.htm[/url]

(sorry about this one, I searched for the quick answer but all I really found was noise and “height:100%” which doesn’t work) – How do I make the container automatically fill the full height of the page (even with no content)?

#container {
margin:0 auto;
background-color:#ffffff;
width:800px;
height:100%;
}

Thank you.

John

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@skywalker2208Mar 06.2010 — You problem is with this portion of the page.

[code=html]<p class="footertext">&copy; Copyright - riskSciences.net, LLC. All rights reserved.</p>[/code]

You have the below css being applied to it.
[code=html]
p {
line-height:1.8em;
margin:15px 0;
}
[/code]


If you change the margin to zero you will see the space is removed. However I don't know where you are also applying it to the site that might change the looks.
Copy linkTweet thisAlerts:
@johndoveauthorMar 06.2010 — Once again, The Force is with me. : ) Thanks so much Skywalker! I'll just re-apply the <p> margins to other classes.

J
×

Success!

Help @johndove spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...