Alright I looked at the links at the top, but they confused me. I have it working in Opera, Safari, and Firefox betas, I'm running IE8 Beta on my one computer and IE7 on the other. IE8 hasn't fixed this 'unexpected feature' yet. Before I show what I currently have, I'm working on this for someone else who is using tables, I'm attempting to switch over to CSS for them, but just got to the point where I can start that, first I had to remove a lot of stuff such as the closing align tags (nope not even an opening align tag). So this is what I currently have:
HTML Code:
<tr><td><div style="height:32px;width:176px;background-image:url(images/button.png);min-height:32px;display:table-cell;vertical-align:middle;text-align:center;"><span style="font-size:0.85em;"><a href="index.html" class="left">Home</a></span></div></td></tr>
The CSS I have is:
Code:
body {background-color:#FFFFFF;color:#000000;}
a:link {background-color:#FFFFFF;color:#8B0000;}
a:visited {background-color:#FFFFFF;color:#808080;}
a.left:link {background-color:#808080;font-family:Brush Script MT;}
a.left:visited {background-color:#808080;font-family:Brush Script MT;color:#8B0000;}
a.left:hover {background-color:#808080;font-family:Brush Script MT;color:#FFFF70;}
If you want to cry the site I'm working on is http://www.earthquakeresurrection.com/ but don't say I didn't warn you.
Anyway if anyone can help explain how to with what I have center the text vertically that'd help.
http://70.15.139.117:8181/quake/ should be the link to it on my machine.
__________________
PHP Code:
<?php echo "Hello World"; ?>
HTML Code:
<html><head><title>Hello World</title></head><body><p>Hello World</p></body></html>
Last edited by Arenlor : 05-14-2008 at 10:04 PM.
Reason: Added the site to view it.
|