Sent by Srinivasan Raman on 28 August 2002 18:06
Wouldn't it be nice to have some horizontal and vertical align css
properties for block level elements.
Both vertical-align and text-align are for inline elements within
the block level element (both are applicable to table-cells as well).
The block horizontal align property could be used in use-cases like this
<center>
<p>This is a paragraph which is centered</p>
</center>
or
<div align="center">
<p>this para is centered
</div>
Block vertical align property could be used in usecase you have
mentioned.
Thanks,
--srini
Julian Voelcker wrote:
>
> On Wed, 28 Aug 2002 09:12:37 -0500, wrote:
> > If you don't mind my asking, what was your workaround? I've wanted this
> > capability for a long time...
>
> I had some white text on a blue background and it wasn't working very
> well with the vertical-align so i just added a margin to the top so it
> looked as though it was in the middle.
>
> Cheers,
>
> Julian Voelcker
> Cirencester, United Kingdom
>
> _______________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://three.pairlist.net/mailman/listinfo/css-discuss
> Sponsored by www.westciv.com - CSS resources | software | learning