CSS align in div

Post non-phpwcms related topics here - but I don't want to see "hey check this or that other cms". Post if you have a point or worthwhile comment, don't post just to increase you post count!
Post Reply
Paal
Posts: 204
Joined: Wed 6. Oct 2004, 19:54
Location: Budapest, Hungary
Contact:

CSS align in div

Post 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
Post Reply