Solved

Menu items too close together

Posted on 2014-02-06
3
438 Views
Last Modified: 2014-02-06
My Default.aspx page has a horizontal menu across the top. I used the menu server control from the tool box. Why aren't the menu items positioned further apart from each other to fill the entire width of the header? They're all bunched up on the left side.  Shouldn't VWD2010 format them automatically?

Below are the files. I had to change my Web.sitemap file to an xml file to upload it here.
Default.aspx
Default.aspx.cs
Header.jpg
MenuBackground.jpg
Monochrome.css
Sidebar.jpg
web.config
Web.sitemap.xml
0
Comment
Question by:MBarongan
3 Comments
 
LVL 17

Expert Comment

by:nanharbison
ID: 39838498
Can we see the page where this is happening? That way we can try CSS changes in Firebug.
0
 
LVL 28

Accepted Solution

by:
chilternPC earned 500 total points
ID: 39838499
the menu is defined in Monochrome.css
and you need to add to the list definition to make it horizontal
change it to:

.MainMenu ul li
{
  /*
    Gives the four menu items in the main menu a width of 200px each
  */
  width: 200px;
/*  remove bullets   */
list-style-type:none;

/* display horizontal   */
 display:inline;
}
0
 

Author Closing Comment

by:MBarongan
ID: 39839585
Thank you. The problem was the CSS.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question