hallo
schlag mich damit rum
http://labs.adobe.com/technologies/s...BarSample.html
genauer: Centering the Menu Items in a Menu Bar
Code:
<link href="../../widgets/menubar/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
/* Center the text within all menu item links.
*/
ul.MenuBarHorizontal a {
text-align: center;
}
/* Set the the alignment back to left for any
* menu item links that are in a sub menu.
*/
ul.MenuBarHorizontal ul a {
text-align: left;
}
-->
</style>
wenn ich eine testsite anlege und dann ein spry menu einbaue
seh ich kein "ul.MenuBarHorizontal ul a " sondern nur "ul.MenuBarHorizontal ul a.nochwas"
offensichtlich brauch ich das um text im submenu mittig auszurichten
wie kann ich denn ohne das - also nur mit den vorgegebenen "ul's" text mittig setzen ?