du sollst doch keine tabelle verwenden ;) machs mit einer liste und all deine probleme sind gelöst (den link zum selfhtml-artikel hab ich dir ja gegeben)
hat ja iwie nicht funktioniert :D
Ich versuchs mal mit ner liste eben.MFG Tributer
Angepasst.
Schrift in der Mitte vom Button.
Problem Button wird durch das margin größer, sodass der css rollover des bilds nicht mehr funktioniert, da er zu viel von bild anzeigt.
Gibts da ne lösung?
Aktueller Quellcode
<style type="text/css">
#menu a {height: 29px;
background: url("http://www.berrycline.com/test_01/Button.gif") 0px 0px no-repeat;
display: block;
font: bold 12px/1 sans-serif;
margin: 0em 0; padding: 8px 0px 0px 0px;
color:#FFFFFF;
text-decoration: none;
}
#menu a:hover {background-position: 0px -30px;}
#menu a:active {background-position: 0px -60px;}
</style>
<style type="text/css">
table { height:30px; width:125px;}
tr { text-align:center; vertical-align:middle; }
</style>
<style type="text/css">
tr { text-align:center; vertical-align:middle; }
</style>
</head>
<body bgcolor="#2F2F2F">
<div id="menu" align="left" border="0">
<a href="">Home</a>
<a href="">Home</a>
<a href="">Home</a>
<a href="">Home</a>
</div>
</body>
</html>