PDA

Click to See Complete Forum and Search --> : alignment question


noantsinmypants
04-18-2008, 12:16 AM
I have my site somewhat implamented to how i want it layed out. But I'm having issues trying to center it in the window.

Could i create another <div> to contain everything that is already layed out and have it centered?

Right now its all just positioned absolute. But as i was trying to get what is layed out now, inside another container to get it centered. Im not sure on the proceedure to get it to stay relative inside of the container i want centered.

Thanks in advance.

here is a link to what i have as a rough stage.

http://www.jeremywisecup.com/misc/noant/_main/noants.html

noantsinmypants
04-18-2008, 03:33 AM
Nevermind.

Gravity
04-19-2008, 05:51 PM
awesome work man... Are you in St. Louis?

melbelle80
04-20-2008, 07:38 PM
i need this help too. how do i get the main window to 'float' if you will...stay the same size, but centered in the main window? i am sure it is probably something reatively simple, but i'm at a loss. i'm using dreamweaver.

noantsinmypants
04-20-2008, 07:57 PM
@ gravity.
Thanks, and Im in springfield, going to missouri state.

@ melbelle80.
http://www.simplebits.com/notebook/2004/09/08/centering.html (https://bearmail.missouristate.edu/exchweb/bin/redir.asp?URL=http://www.simplebits.com/notebook/2004/09/08/centering.html)
Here is some information to keep it center.
Basically you will just ad a div container around all else (if your using divs) and need to set the width to a certain % and align center. You can set a min. width if you're wanting something to stay a ceratin size.

melbelle80
04-21-2008, 03:04 AM
thanks! do i need a password/user name to access this?

melbelle80
04-21-2008, 03:14 AM
nevermind, i just copied and pasted and it worked...duh.

melbelle80
04-21-2008, 03:15 AM
again, thank you so much, i've been looking for something like this forever. i'm just learning css and it's still very foreign to me, but i'm getting there. this was driving me nuts forever! thanks!

noantsinmypants
04-21-2008, 12:36 PM
Im glad i could help. Normally im the one asking for help, as i am teaching myself css and webdesign.