Page 1 of 1

CSS align in div

Posted: Thu 24. Mar 2005, 22:56
by Paal
Hello,

How to make vertical align the textfield in div element?

This:
http://www.carp.hu/c/

Code: Select all

 <form name="" action="" class=""> 
 <div id="footer">
   <img src="picture/search_text.gif"><input type="text" name="search" id="searchInput"><input type="image" src="picture/search_button.gif">
 </div>
 </form>

Code: Select all

#footer {
 position: absolute;
 background-image: url(picture/footer_bg.gif);
 background-repeat: repeat-y;
 height: 30px;
 width: 560px;
 left: 0px;
 bottom: 0px;
 text-align: right;
 vertical-align: middle;
}
Thx, Paul