Gegen Bilderklau - Das Original (https://www.gegen-bilderklau.net/index.php)
- Design, Website, Copyright (https://www.gegen-bilderklau.net/board.php?boardid=80)
--- Homepagehilfe (https://www.gegen-bilderklau.net/board.php?boardid=27)
---- Homepagehilfe - Archiv (https://www.gegen-bilderklau.net/board.php?boardid=139)
----- [CSS] Problem mit Buttons, Text oben statt mittig (https://www.gegen-bilderklau.net/thread.php?threadid=168811)


Geschrieben von callous. am 21.02.2010 um 15:42:

  Problem mit Buttons, Text oben statt mittig

code:
1:
2:
3:
4:
#menue a:link {color: #756B50; background-image:url(img/buttonhg.png); border:0px dotted #756B50; text-decoration:none; width: 100px; height: 20px; text-align: center; font-weight:bold;}
#menue a:visited {color: #756B50; background-image:url(img/buttonhg.png); border:0px dotted #756B50; text-decoration:none; width: 100px; height: 20px; text-align: center; font-weight:bold;}
#menue a:active {color: #756B50; background-image:url(img/buttonhg.png); border:0px dotted #756B50; text-decoration:none; width: 100px; height: 20px; text-align: center; font-weight:bold;}
#menue a:hover {color: #8C7F60; background-image:url(img/buttonhg.png); border:0px dotted #756B50; text-decoration:none; text-transform:uppercase; width: 100px; height: 20px; text-align: center; font-weight:bold;}


Eigentlich klappt alles wunderbar, doch der Text auf den Buttons ist oben, anstatt in der Mitte.
Weiß jemand, wie man das ändern kann?



Geschrieben von callous. am 21.02.2010 um 18:05:

 

Hat nichts geändert.
Habe aber mal danach gegoogelt und bin auf line-height gestoßen. Damit hat es dann geklappt smile

Kann geschlossen werden.


Forensoftware: Burning Board, entwickelt von WoltLab GmbH