Yeah, that's pretty much what I'm after, except the height is obviously much 
larger than 380px, and couldn't be locked in to a specific value, and might 
at some point be taller than the viewport, so it'd have to be able to adapt 
to that.  If it can't that's fine, I'm just essentially playing around with 
css, but I'm just trying to see what I can do with it.

Thanks,

-Aaron
----- Original Message ----- 
From: "~davidLaakso" <[EMAIL PROTECTED]>
To: "Aaron Seelye" <[EMAIL PROTECTED]>
Cc: <css-d@lists.css-discuss.org>
Sent: Friday, March 10, 2006 11:59 AM
Subject: Re: [css-d] Vertically align a div when height is dynamic


> Aaron Seelye wrote:
>> Sorry about the lack of details, I'll try to do better.  I'm looking at
>> aligning the div in relation to the viewport.
>> http://template006.pixelsoftfilms.com/ is what I'm working on, I'd like 
>> the
>> actual content to be in the middle of the viewport, rather than bumping 
>> up
>> on the top.
>>
>> Thanks,
>>
>> -Aaron
>>
>> -
> I'm not sure if I understand. Is something like this what you're after?
> <http://www.dlaakso.com/sandbox/center-stuff.html>
> If it is, approach with caution. You'll need to clear the chrome at
> 800(and everyone has a different setup), so height is restricted to
> approx. 380px or less; and there are inherent problems, particularly
> dealing with text-on zoom, and (possibly) sidebar users. Degrades in
> Mac/5.2 centered horizontal at top viewport.
> Regards,
> ~davidLaakso
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7b2 testing hub -- 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/
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006
> 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/

Reply via email to