Previous Message
Next Message

Re: [css-d] block model, align contents

Sent by Simon Hill on 15 February 2002 22:10


--=-KouwkSZNMV9+kpRIwdl1
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2002-02-16 at 14:15, James Spahr wrote:
>=20
> How does one vertically align the contents of a block-level element? I wa=
nt
> to set the contents of a div to align to the bottom.

http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-bottom

>=20
> div#smtopb {=20
>     position:absolute;
>     height:140px;
>     top: 0px;
>     width:25%;
>     left:25%;
>     padding-left: 10px;
>     padding-right: 5px;
>    =20
>     font-family: Georgia, Times, Serif;
>     font-size: 11px;
>     line-height: 16px;
>    =20
>     border: #CC0000 1px dotted;
>    =20
>     }
>=20


--=-KouwkSZNMV9+kpRIwdl1
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEABECAAYFAjxt080ACgkQsnOzDG7Xi8r8sACg9NwchWQv3VBkZcRi5fllrg0S
KiEAoJ5TPN1XN31tt5a9zGed6PD32mkM
=4K7y
-----END PGP SIGNATURE-----

--=-KouwkSZNMV9+kpRIwdl1--
Previous Message
Next Message

Message thread: