On 1/7/07, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote:
>
> That's correct, but unless I'm missing something (especially since I
> don't have IE7 installed) then the following should work quite well...
>
> #content {
> height: 260px;
> /* position: relative; <-- delete this */
> position: absolute;
> top: 50%;
> margin-top: -130px;
> }
>
> ...for vertically centering of a fix-sized layout like yours.Right, I _forgot_ my layout was fixed height and straight away went for the display: table route. Argghh, thanks for finding the elegant solution! Now I have to go and hit my head against a brick wall for a few minutes. -- Australian Web Designer – www.blakehaswell.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
