top_left top_right
bottom_left
Next Event: Unknown | Forum Rules | QGL Website | Event Registration
openFolder AusForums.com
iconwatfolderLineopenFolder LANs
iconwatfolderLineopenFolder QGL
iconwatfolderLineopenFolder QGL Forum
Author
Topic: CSS Help
rubba-chikin
Posts: 4476
Location: Brisbane, Queensland
Anyone one here decent with CSS, I have run into a problemo I can't find the answer to.

Im having problems with a footer that I want sitting at the bottom centered. I can get it on the bottom but I cannot for the life of me figure out how to center the bastard :(

Theres probably a whole lot of useless stuff still in the #bottom tag that does nothing that I've tried to make it center.

http://mark.mongie.net/css-page/test.htm

Code:

#top { background-color: red; width: 684px; height: 87px; border: none; margin: 0px auto 0px auto; border 1px solid Black; }

#bottom { background-color: blue; width: 684px; height: 87px; border: none; border 1px solid Black; position: absolute; bottom: 0; margin: 0px auto 0px auto; clear: both; }



Any help would be much appreciated :)


Edit: goddamn wrong tag for > then when you edit all the < special tags you put in turn to real ones and are all lost ARRG you dont really need to see the html part anyway, or just view the source.
system
--
hast
Posts: 550
Location: Brisbane, Queensland
put the left + right margin to auto, and set the text-align: center in the containing block. you will probably need to add a div around the bottom to make it work or else the top element will be centered as well.

EDIT: oh feck.. you did that already


last edited by hast at 00:40:42 23/Feb/05
rubba-chikin
Posts: 4477
Location: Brisbane, Queensland
Baaaaaaaah it works but now is still monged for me...

I have v 6.0.2900.2180 of IE and theres a small gap underneath the bottom blue box... 2 others so far with 6.0.2800 something is fine for both of them.

Fcking IE... lump of s***.

http://mark.mongie.net/css-page/test.htm

Can people pls look at it and tell me their IE version and if theres a gap under the blue box.

Gap: badness :(
http://mark.mongie.net/css-page/ihateyoucss.jpg

No Gap: good! and what I want!
http://mark.mongie.net/css-page/lollers.jpg
whoop
Posts: 7879
Location: Brisbane, Queensland
I don't know what IE is because I haven't used it in so long and it's gathering cobwebs, but 6.0.2900.2180 works just fine
WhiteWolf
Posts: 1244
Location: Brisbane, Queensland
perhaps have a body{
margin: 0px;
padding: 0px;
}

see if that helps?

maybe its just an internet explorer issue (wouldn't bloody supprise me, thoes inconsistant bastards!)
WhiteWolf
Posts: 1245
Location: Brisbane, Queensland
wait, nvm, its used in that page anyway
Denominator
Posts: 235
Location: Brisbane, Queensland
dose putting tags (Center) Put text in here(/Center) Work



bottom


guess it does work


last edited by Denominator at 09:07:54 23/Feb/05
rubba-chikin
Posts: 4479
Location: Brisbane, Queensland
The funny thing is, I tried the online link for s***s and giggles and its absolutely fine in my IE, offline theres a gap... gg IE gg... you mkae no sense at all... uggggggggh :/
Paveway-3
Posts: 2066
Location: Brisbane, Queensland
who wants help with Counter-Strike: Source ?
system
--
Not a new post since your last visit.
New Post Since your last visit
Back To Forum
Advertise with Us | Privacy Policy | Contact Us
© Copyright 2001-2026 AusGamers Pty Ltd. ACN 093 772 242.
Hosted by Mammoth Networks - Australian VPS Hosting
Web development by Mammoth Media.