k0r54
10-21-2007, 01:12 PM
Hi,
I am using joomla and am using a css menu extension the code produces this
<div class="moduletable_mainmenu">
<ul id="mainlevel_mainmenu"><li><a href="xx/index.php?option=com_frontpage&Itemid=1" class="mainlevel_mainmenu">Home</a></li><li><a href="xx/index.php?option=com_ezrealty&Itemid=2" class="mainlevel_mainmenu" id="active_menu_mainmenu">Landlord</a></li></ul> </div>
I want the menu to be inline and I am using a background image for the buton that is 112px wide and 48 height. There is also a mo.
This is the css i got so far but it doesn't seem to work, it ignores the id code: -
.moduletable_mainmenu li{
display:inline;
}
.mainlevel_mainmenu a{
background:url(../images/m_button.jpg);
width:112px;
height:48px;
}
.mainlevel_mainmenu a:hover{
background:url(../images/m_button_h.jpg);
width:112px;
height:48px;
}
Thanks
k0r54
I am using joomla and am using a css menu extension the code produces this
<div class="moduletable_mainmenu">
<ul id="mainlevel_mainmenu"><li><a href="xx/index.php?option=com_frontpage&Itemid=1" class="mainlevel_mainmenu">Home</a></li><li><a href="xx/index.php?option=com_ezrealty&Itemid=2" class="mainlevel_mainmenu" id="active_menu_mainmenu">Landlord</a></li></ul> </div>
I want the menu to be inline and I am using a background image for the buton that is 112px wide and 48 height. There is also a mo.
This is the css i got so far but it doesn't seem to work, it ignores the id code: -
.moduletable_mainmenu li{
display:inline;
}
.mainlevel_mainmenu a{
background:url(../images/m_button.jpg);
width:112px;
height:48px;
}
.mainlevel_mainmenu a:hover{
background:url(../images/m_button_h.jpg);
width:112px;
height:48px;
}
Thanks
k0r54