Solved

css for li

Posted on 2011-09-13
2
297 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
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
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 style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

825 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