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

Posted by metalive on 07/17/05 19:23

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.

Can someone tell me the solution please?
THX
Nick

 

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

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