Collapsible list minus bullets

T

TAV

I would like a collapsible list with indents but NO bullets or numbers. Using
FP 2003.

On this forum I found this code to stop indents of a collapsing list.
<style type="text/css">
ul{
margin:0;
padding:0;
}
</style>
I played around with it and found if I added in: - disc:0; - the discs do
not display. However I would like the indents to remain. When I remove -
margin:0; padding:0; - the discs return.

Could someone offer the code to show an indented withOUT a disc or number?
Thanks very much in advance.
 
T

TAV

Thank you, Jon. It removed the disc from the indent. But it also removes the
disc or number from the 'question line'. This is how I would like the
colapsible list to be.
1. Question (opening line)
Answer (indent line)

Also help to code the question and answer lines in different colors, would
very much be appreicated. Or a link to this information would be helpful.

Thanks again.

TAV

-----------------------------------------------------------------------
 
S

Stefan B Rusynko

You need to be using 2 different types of lists (ol and ul) and apply your style just to the ul li

<style type="text/css">
ul li {
list-style-type: none;
}
</style>

<ol>
<li>Question 1 (opening line)<ul>
<li>Answer1 (indent line)</li>
</ul>
</li>
<li>Question 2 (opening line)<ul>
<li>Answer2 (indent line)</li>
</ul>
</li>
</ol>


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Thank you, Jon. It removed the disc from the indent. But it also removes the
| disc or number from the 'question line'. This is how I would like the
| colapsible list to be.
| 1. Question (opening line)
| Answer (indent line)
|
| Also help to code the question and answer lines in different colors, would
| very much be appreicated. Or a link to this information would be helpful.
|
| Thanks again.
|
| TAV
|
| -----------------------------------------------------------------------
| "Jon Spivey" wrote:
|
| > Hi,
| > li{
| > list-style-type: none;
| > }
| > --
| > Cheers,
| > Jon
| > Microsoft MVP
| >
| > | > >I would like a collapsible list with indents but NO bullets or numbers.
| > >Using
| > > FP 2003.
| > >
| > > On this forum I found this code to stop indents of a collapsing list.
| > > <style type="text/css">
| > > ul{
| > > margin:0;
| > > padding:0;
| > > }
| > > </style>
| > > I played around with it and found if I added in: - disc:0; - the discs do
| > > not display. However I would like the indents to remain. When I remove -
| > > margin:0; padding:0; - the discs return.
| > >
| > > Could someone offer the code to show an indented withOUT a disc or number?
| > > Thanks very much in advance.
| > >
| > > --
| > >
| > > TAV
| >
| >
| > .
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top