You are here: Re: How to verticllay align text in a div-box? « HTML « IT news, forums, messages
Re: How to verticllay align text in a div-box?

Posted by Neredbojias on 07/18/05 18:44

With neither quill nor qualm, metalive quothed

> Hello!
>
> I want to create a footer as a narrow line at the bottom of the screen
> and am therefore using a div-box formatted with "height:25px;".
>
> The line of text in it though, is aligned at the top the the footerbox,
> and I've tried to get it vertically middled using
> "vertical-align:middle;" on the the div-box, which didn't work. The next
> thing I tried was to wrap the line of text into a <span> and then
> applied the "vertical-align:middle;" on that, but neither did that work.

Vertical-align must have some other text to relate to. For what you
want, my advice is to use a table.

--
Neredbojias
Contrary to popular belief, it is believable.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация