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, |
|
 |

05-03-2008, 08:25 PM
|
|
Junior Member
|
|
Join Date: May 2008
Posts: 4
|
|
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!
|

05-03-2008, 08:25 PM
|
|
Junior Member
|
|
Join Date: May 2008
Posts: 1
|
|
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
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
All times are GMT. The time now is 08:29 AM.