Topic: Absolute Positioning |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Small Patch of Grass in CT |
posted 12-14-2002 20:45
I am looking to absolutly position an table in the center of my webpage. I am trying to do this because there is a picture I would like to position at the top of my table halfway in the table and halfway out of the table. I was wondering how I would go about aligning the horizontial axis to center and the vertical axis to a variable such as 30px from the top. Does anyone get what I am saying or is it too confusing? |
Maniac (V) Mad Scientist From: New California |
posted 12-17-2002 08:42
Well, I personally don't know how to do it solely with CSS because I'm always too busy doing stuff with script. If you don't get a reply on how to do it with CSS then this demo page might help give you some ideas. |
Paranoid (IV) Inmate From: Sthlm, Sweden |
posted 12-17-2002 09:27
Why must it be abslute center? |
Bipolar (III) Inmate From: Australia |
posted 12-17-2002 23:08
Would be pretty easy to just have a div with its contents set to center, the just put your table within those tags. |
Bipolar (III) Inmate From: Australia |
posted 12-17-2002 23:15
Pretty easy with CSS actually skate, |