Quote:
Originally Posted by orange gold
Sorry, that was a typo... in the real code there is no extra "l"
Anyways.. after editing with the source code I found out that this is the culprit..
If i delete this code which is line1 in the source code:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Then the whole page works, including the vertical allign.
Unfortunatley this is just bbcode so I can't delete it from there...
What do I do?
Is there a way I can edit a template or something so all of the pages have this out-of-date doctype that vbulletin uses replaced with this up-to-date one (seen below) instead?
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
This is not an out of date DOCTYPE.
XHTML is different from HTML.
This article may help explain to you why vertical-align isn't working for you. Have you tried putting the button in a DIV yet and aligning the DIV with the inline style?