This is a discussion on "Beginner CSS website" within the Web Page Design section. This forum, and the thread "Beginner CSS website are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Beginner CSS website
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Beginner CSS website
I'm hoping that someone might be able to point me in the right direction regarding my test website.
www.tankshock.com/nyk/ I am trying to get the black footer at the bottom to always stay at the bottom of the page when resizing the browser window, unless you resize it to a smaller size than the content, where the footer will stay at the bottom of the content. (I don't know if I explained that clearly). I got it to work, kind of, by putting all the content in a wrapper with a spacer and footer div above it set at 95% height for the spacer and 5% for the footer, but it caused the 2 border edges to disappear. Which brings up another point; is there a better way to make a repeating border down the edges of the main content than how I did it? I appreciate any advice, because I'm a complete CSS newb! |
|
|
|
|||
|
Re: Beginner CSS website
For your borders, try using a single image as the background image for the container div and setting the repeat attributes.
Move your header and footer divs to be above and below the middle div respectively. |
|
|||
|
Re: Beginner CSS website
<div style="position: absolute; bottom: 0px;">
Or something like this, I think.... |
|
||||
|
Re: Beginner CSS website
Quote:
I emailed a friend of mine who runs www.makehay.co.uk and asked him if it was possible to do this. here was his reply: Quote:
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
|||
|
Re: Beginner CSS website
Quote:
Quote:
Thanks for the help, I'm sure I'll be back with plenty more questions. By the way, I like the alternating signature quote, minute44. |
|
||||
|
Re: Beginner CSS website
Yeah man, you a NoFX fan?
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
|||
|
Re: Beginner CSS website
Sure am! I think we talked about it briefly weeks ago? I've only posted on these forums once before, so I'm not even sure. Anyway, always good to see a fellow fan. |
|
||||
|
Re: Beginner CSS website
Oh yeah, I remember you now.
cool
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
||||
|
Re: Beginner CSS website
I had a faint flicker of hope when this idea flashed into my head, but sadly, it didn't work without the min-height class. Anyone want to help me take this further? We could be on to a major CSS discovery!
|
|
||||
|
Re: Beginner CSS website
Sticking a footer at the bottom is tricky at best. Read this for some techniques.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
![]() |
| Tags |
| beginner, css, website |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| beginner help | djthompson | Starting Out | 7 | Apr 10th, 2007 09:55 |
| hi a beginner to css | jackfusion | Introduce Yourself | 2 | Apr 21st, 2006 10:50 |
| ASP Beginner | siaoa84 | Classic ASP | 4 | Nov 2nd, 2003 00:38 |