-
Adding space to bottom of page?
I'm trying to add a space, perhaps 20px high, on the bottom of all my webpages, so that the content doesn't bump against the edge of the browser window. I have tried all manner of adding margins, padding, and even tried to cheat by adding a blank footer. For some reason, my content doesn't want to budge.
Can anyone take a look at this page: http://brineandpine.com/about.php
and this css: http://brineandpine.com/main.css
and tell me how best I could fix this?
Thanks so much.
-
-
I'm not sure of the "best" way, but have you tried adding padding/margins to the body tag?
If not, try to enclose the entire page in a <div> and add it to that.
Perhaps the bottom of your layout is independent (such as absolute positioning) though, so that won't work.
Just a quick though to try first. (I haven't yet looked too deeply at your code.)
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
-
call me crazy, but i dont see opening and closing HTML tags?
-
-
That's true. On that note, for this type of question, first validate your page including using a valid doctype. After that it will be easier to help. With messy (invalid) code it's hard to help and more work for us, in addition to simply not being valid code that may behave randomly in browsers.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks