Tom Livingston wrote:
Listers,
I recall someone posting a very easy method of vertical centering a
block in a viewport a while back. Seemed straight forward -
positioning with percentages and a little negative margin nudging.
Googled but came up empty.
Can anyone point me to this? How
apply a height to a block element (200px), position it 50% from the
top, give it a negitive top margin of half its height(-100px)
On 3/23/06, Tom Livingston [EMAIL PROTECTED] wrote:
Listers,
I recall someone posting a very easy method of vertical centering a
block in a viewport a while back.
On 3/23/06 11:47 AM, Tyler Keen [EMAIL PROTECTED] wrote:
apply a height to a block element (200px), position it 50% from the
top, give it a negitive top margin of half its height(-100px)
Don't have a viewable page, but when I did this my content (which has a
fixed width and height) was half