.bullet,li{
list-style-type:disc;
}
  you had list-style


also, you really don't need that many classes


Try
<ul id="mainlist">


<li> Although men are more likely to have latent TB infection, women are
more likely to progress from latent infection to active disease. And in some
settings, women are less likely to receive diagnostic and treatment
services. </li>


Then style them thusly


ul#mainlist li {
    list-style-type: disc;


or list-style-image: url(../images/menucurve.gif);
}


Much easier than using all those classes.  Also you might want to take
advantage of CSS's inheritance and put your font-family and overall size in
a body{} rule so you dont have to repeat it throughout the style sheet.


HTH

Sandy Clark
http://www.shayna.com <http://www.shayna.com/>
CF Pretty Accessible at http://www.shayna.com/blog
Now offering 4 days Hands on CSS training October 11-14th. Rockville, MD.
For more information go to:
http://www.teratech.com/training/oc_classes.cfm#css

  _____  

From: Duane Boudreau [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 3:38 PM
To: CF-Community
Subject: RE: HTML List Item Question

I made the image path relative to the style sheet but no luck. Maybe a look
at the page and you will see what I am doing wrong.

http://usaidolp.cfexperts.com/course1.cfm?cid=1&sid=1&ln=1&pid=3

The style sheet is at:

http://usaidolp.cfexperts.com/styles/styles01.css

TIA,
Duane

  -----Original Message-----
  From: Sandy Clark [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, September 28, 2004 3:22 PM
  To: CF-Community
  Subject: RE: HTML List Item Question

  list-style-image: url(../images/homepagebullet.gif);

  Remember that the image is relative to the stylesheet

  Sandy Clark
  http://www.shayna.com <http://www.shayna.com/>
  CF Pretty Accessible at http://www.shayna.com/blog
  Now offering 4 days Hands on CSS training October 11-14th. Rockville, MD.
  For more information go to:
  http://www.teratech.com/training/oc_classes.cfm#css

    _____

  From: Duane Boudreau [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, September 28, 2004 3:17 PM
  To: CF-Community
  Subject: HTML List Item Question

  Is it possible to replace the list item html element with an image? I
would
  prefer to do this with a stylesheet.

  I've tried everything I can think of:

  <style ...>
  .mainContent { ..... ; list-style-image: url(/bullet.gif);}
  </style>

  I even tried <li type=disc">

  Nothing I try seems to work. Any ideas?

  Duane
    _____
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to