Solved

css for li

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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 …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

762 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

23 Experts available now in Live!

Get 1:1 Help Now