Solved

Menu items too close together

Posted on 2014-02-06
3
449 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 29

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

749 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