Solved

css for li

Posted on 2011-09-13
2
300 Views
Last Modified: 2012-05-12
hey guys i have a menu and my li widh is 100% but i cant get it to be inline

.Menu ul li ul li
{
      padding: 0;
      z-index: 2;
      background-color: #ed1f24;
      line-height: 25px;
}


 service
0
Comment
Question by:JCWEBHOST
[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
2 Comments
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36528248
<< hey guys i have a menu and my li widh is 100% but i cant get it to be inline>>
what does it mean?
0
 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 500 total points
ID: 36528251

Menu ul li ul li
{
      padding: 0;
      z-index: 2;
      background-color: #ed1f24;
      line-height: 25px;
width: 100%;
}

refer
http://www.alistapart.com/articles/taminglists/
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

717 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