[Typo3] Case / if statements in TMENU for ATagParams

P. Embacher typo3 at peitco.de
Wed Apr 13 22:50:35 CEST 2005


"JoH" <info at cybercraft.de> schrieb im Newsbeitrag 
news:mailman.1.1113420905.32364.typo3-english at lists.netfielders.de...
>> -> I need another background image and margin/padding settings, if
>> the menu item needs two lines
>
> Any reason for this? - Any visual example? - URL?
>
> Joey

YES - of course ;-))

the reason is, that I want to align the text in the middle .. but 
unfortunatly the vertical-align:middle; doesn't work as I want it ...

I put you a visual example on a webpage 
http://www.serviceplace.de/centermenu/

the css of the left variant is (the important part):

a.tester, a.tester:link , a.tester:visited {
text-decoration:none;
width: 198px;
height: 28px;
min-height:27px;
padding-top: 9px;
padding-left: 27px;
margin-top: 0px;
background: #88929A url(H_Navebene2_back_out.gif) bottom right no-repeat;
vertical-align:middle; // <- especialy THATdoesn't work!!
}

Hope you understand the problem ... and have some solution - even in CSS...

Peter 





More information about the TYPO3-english mailing list