/* All link and span elements */
.TopMenu ul.AspNet-Menu a,
.TopMenu ul.AspNet-Menu span
{
white-space: nowrap;
}
/* All first level link and span elements */
.TopMenu ul.AspNet-Menu > li > a,
.TopMenu ul.AspNet-Menu > li > span
{
color: White;
font-family: Verdana, Arial, sans-serif;
font-weight: bold;
font-size: 10px;
padding: 5px 7px;
}
/* All first level link and span elements hovered */
.TopMenu ul.AspNet-Menu > li > a:hover,
.TopMenu ul.AspNet-Menu > li > span:hover,
.TopMenu ul.AspNet-Menu > li.AspNet-Menu-Hover > a:hover,
.TopMenu ul.AspNet-Menu > li.AspNet-Menu-Hover > span:hover
{
text-decoration: underline;
}
/* All first level link and span elements when the element or one of its children is selected */
.TopMenu ul.AspNet-Menu > li.AspNet-Menu-Selected > a,
.TopMenu ul.AspNet-Menu > li.AspNet-Menu-Selected > span,
.TopMenu ul.AspNet-Menu > li.AspNet-Menu-ChildSelected > a,
.TopMenu ul.AspNet-Menu > li.AspNet-Menu-ChildSelected > span
{
background-color: #D8D8D8;
background-image: url(images/top.jpg);
background-repeat: repeat-x;
color: #186086;
border-top: 1px solid #A2ABB0;
border-left: 1px solid #A2ABB0;
border-right: 1px solid #A2ABB0;
padding: 4px 8px 5px;
}
Member
16 Points
93 Posts
Unable to make menu horizontal using css adapters
May 21, 2008 08:23 PM|kiekar01|LINK
Hello,
I'm trying to create a simple three tab horizontal menu using a sitemap and css adapters with no success.
Each time I run the website the menu displays vertically. I can't figure this one out. Any help would be much
appreciated.
MasterPage
HeaderMenu.css
Web.sitemap
Member
180 Points
207 Posts
Re: Unable to make menu horizontal using css adapters
May 29, 2008 05:42 PM|Schmakt|LINK
have you tried specifying a width? Total shot in the dark...
Member
1 Points
3 Posts
Re: Unable to make menu horizontal using css adapters
Aug 22, 2008 02:08 PM|dan9603|LINK
I have this exact issue. Did you ever resolve it? If so, what did you do? Thanks!!!
Member
12 Points
60 Posts
Re: Unable to make menu horizontal using css adapters
Aug 22, 2008 04:22 PM|cnobles|LINK
Here's the info for my horizontal menu:
Star
8235 Points
1697 Posts
Re: Unable to make menu horizontal using css adapters
Aug 22, 2008 05:23 PM|lspence|LINK
Try the following:
http://Lspence.blogspot.com
(Please MARK this post as ANSWERED, if you find it helpful)