Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List inside a List! 1

Status
Not open for further replies.

katherinep

Programmer
Sep 18, 2003
49
AU
Hello,

I am making an accessible website and to control layout I am using lists so the list-style is set to none. Thing is I have some text to display in a <li> tag read from a database and this text has a list in it but this list needs to show bullet points. How do I turn bullets points 'back on' for one section when for the majority of my site I need them turned off. So far all attempts have been ignored and the text is shown with no bullet points.

Thanks,

Katherine
 
Or, if only a list-within-a-list in certain section needs them on, you could give the UL a class:

Code:
ul li ul.showBullets {
   list-style-type: disc;
}

...

<ul>
   <li>
      <ul class="showBullets">

Dan


[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top