Avatar of Quarfelburg
Quarfelburg asked on

Vertically and Horizontally center absolute positioned CSS layout

Hi all, I just converted my table based layout to CSS and am loving the results.  The only thing I can't figure out is how to horizontally and vertically center the layout (so that it is in the middle of the page).  

Here is the layout:
http://www.greenteadesign.ca/newsite/newlayout.html

Any help would be greatly appreciated,
Hayden

(P.S. If you could tell me if anything is not looking right on any browser/platform or have any suggestions that would be great too.  Compare to table based layout at http://www.greenteadesign.ca/newsite/product.html )
CSS

Avatar of undefined
Last Comment
Quarfelburg

8/22/2022 - Mon
bruno

is this what we are supposed to see??

Sorry, that URL does not exist
on this server.
bruno

i'm guessing not and don't see anything on your server similar...
ASKER
Quarfelburg

hold on - youre being redirected to .com - will dupe file structure
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER
Quarfelburg

should work now.
ASKER CERTIFIED SOLUTION
seanpowell

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Quarfelburg

Works. Thanks for all your help sean - this way of coding layouts beats tables hands down.

Hayden
seanpowell

Yeah?

Then what are all those tables doing in your code :-)
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
seanpowell

BTW - very nice furniture...
ASKER
Quarfelburg

Thanks, as for the tables - I was going to ask if it was possible to use a list with display block (for thouse css mouseover effects).  Was playing around for awhile then just switched to using tables.

I'm curious - where did you get those numbers for the negative margins?
seanpowell

Divide the width/height by 2.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
seanpowell

>>I was going to ask if it was possible

NEW QUESTION ALERT!!!
NEW QUESTION ALERT!!!

:-)
seanpowell

You may want to have a peek here, as an example:

http://css.maxdesign.com.au/listamatic/horizontal09.htm
ASKER
Quarfelburg

Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.