Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 2
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-03-2008, 08:25 PM
Henry J Henry J is offline
Junior Member
 
Join Date: May 2008
Posts: 4
Default

Custom CSS bullet list style is appearing in ALL unorderd lists, even if they...


...have other bullet types!? I have unordered lists that appear to have two types of bullet styles showing at the same time.

I have a custom bullet that I made and I need to have some lists that have lowercase letters.

The custom bullets work perfectly where they are needed but they also show up in the lists that have lowercase letters.

I think it is because of my CSS:

li {
padding-left:25px;
padding-bottom:15px;
background:transparent url("http://www.geolearning.com/summit/images/summitbullet.gif") no-repeat;
background-position:0 5px;
}

Please tell me how I can have multiple styles of unordered lists.

I have tried things like

li 1 {}
and
.li 1{}

but they don't work.

Please explain the answer clearly and completely- otherwise the directions are impossible to follow!

Thank you!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-03-2008, 08:25 PM
Anil M Anil M is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default

Actually the CSS should be applied to the <ul> tag or the <ol> tag, not <li>. So for example, take the CSS you already have and wrap it around

ul.custom { your css goes here}

then create another class for the lowercase letter lists:

ul.letter { whatever css you want here}

notice also the syntax I've used for classes (based on what you provided, the syntax seems wrong).

this should do the trick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Your Ad Here

All times are GMT. The time now is 08:29 AM.