Click to See Complete Forum and Search --> : [RESOLVED] center a div in front of another one


Iceline
04-03-2007, 07:29 AM
I have a 768px wide centered page. On top is a header, which is 768x160px. I'm trying to get a div of 200px wide and 100px high to be both horizontally and vertically centered in front of it.

I can't use left values or an absolute position, seeing the page is centered. Any ideas?

jogol
04-03-2007, 07:51 AM
maybe this (http://www.jakpsatweb.cz/css/priklady/vertical-align-final-solution-en.html) helps...

Iceline
04-03-2007, 08:02 AM
Ok, I got it working, thanks!