Previous Message
Next Message

Vertical alignment of text within div

Sent by Spartanicus on 22 June 2004 08:08


Dominik Rabiej [EMAIL-REMOVED]> wrote:

>I'm new to the list and recently struggled with the same issue of
>centering an image within a floating div.  I found what I was looking
>for here:
>http://mrclay.org/web_design/centered_image/
>
>Essentially you need to pad the image with non-breaking spaces so as
>to tell CSS that you are playing with text; then vertical-align:
>middle will work because it is operating on an image inside text,
>instead of a pure image.

Nonsense, proper methods here:
http://www.student.oulu.fi/~laurirai/www/css/middle/

-- 
Spartanicus
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: