PDA

View Full Version : valign="midde"



NeoDreamer
April 8th, 2007, 11:28 PM
http://levichi.com/index.php?sec=product&id=1

I can't do <td valign="middle"> on the buy buttons. They always align to the top of the cell. Each button is a separate form. I got the code from Paypal.

noTime
April 9th, 2007, 02:16 AM
What is valign? :hugegrin:

simplistik
April 9th, 2007, 08:27 AM
Insert a doctype and you should be able to use valign, though you may as well use it's css equivalent vertical-align: middle

NeoDreamer
April 9th, 2007, 09:22 AM
I tried all the doctypes suggested by W3C. All of them did not allow me to valign. Additionally, having any doctype at all makes my site look worse in Firefox. My site looks like crap in IE no matter what I do. There are even tables that float over text!

http://img329.imageshack.us/img329/9515/untitled1aq7.th.jpg (http://img329.imageshack.us/my.php?image=untitled1aq7.jpg)