Solved

Menu items too close together

Posted on 2014-02-06
3
431 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How can i modify my File download link ? 6 45
PHP Undefined Index in HTML Form? 2 31
Replace &lt; with < 14 54
How to loop bootstrap columns which contain database records 9 18
Find out what you should include to make the best professional email signature for your organization.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now