How can I stop collapsible lists from indenting?

G

Guest

I'm trying to build a left menu using FrontPage 2003's collapsible lists, but
I don't want the list to be indented. I'd like all levels to be in the same
positiion - left aligned. But the first level is indented, and the second
level indents even further. I've tried to fix it via Styles under Bullets &
Numbering. Have tried using numbered, bulleted and image lists (using a
transparent 1px gif). Nothing seems to stop the indenting. Does anyone know
how to fix this please?

This is what I end up with:

Item 1
Subitem 1
Subitem 2

But what I want is:

Item 1
Subitem 1
Subitem 2
 
J

Jon Spivey

Hi Mary,
You can put in the head of your page
<style type="text/css">
ul{
margin:0;
padding:0;
}
</style>
 
G

Guest

Hi John,

I just tried that but it didn't remove the indents. I had previously added
similar code to my stylesheet for this page and it didn't help. Just now
started with a new blank page, no stylesheet attached, with your suggested
code pasted into the head, but as soon as I click Format / Bullets &
Numbering it automatically indented the first point and double indented the
second level points. It looks OK in Design view, but as soon as you Preview
it the indents appear. Any other ideas please?
 
J

Jon Spivey

That's strange, try sticking this code on a page and tell me what happens
<html>
<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 17</title>
<style>
ul{
margin:0;
padding:0;
}
</style>
</head>
<body>
<ul>
<li>item one</li>
<li>item two</li>
<li>item three</li>
</ul>
</body>
</html>

I get no indents. I'd also suggest looking at Murray's exampe page as it's a
better implementation of collapsible lists.
 
G

Guest

Thanks Jon,

That's got it ! It seems if I choose square bullet points it works OK. It
now doesn't indent, and also doesn't display the bullet points (I didn't
want them to show). It does show the bullet points in Design view but they
don't show on Preview. that's a bit odd, but it works. Many thanks. That
was a big help.
 

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