Page 1 of 1

Bulletlist (not menu) wont indent.

Posted: Sat Mar 04, 2006 3:13 pm
by volcanoboy
Thought I had everything working on my site when I noticed that no indent is applied to a bullet list when shown on my site. It does apply the indent in the edit content manager.

Any ideas? Thanks.

see atachments editlist.jpg (in editor) & weblist.jpg (result on page)

[attachment deleted by admin]

Re: Bulletlist (not menu) wont indent.

Posted: Sat Mar 04, 2006 8:47 pm
by amygdela
perhaps the padding-left of the li is 0 ?

Re: Bulletlist (not menu) wont indent.

Posted: Sat Mar 04, 2006 11:38 pm
by volcanoboy
Update:
It does work in IE on PC, not in Firefox.
No indent in Safari, Firefox, Netscape or Opera on the Mac.

However, it does look like the padding is set to 0 in my Main css file (Used to be Typography).
But I also have an alterd version of the Horizontal css menu amongst my stylesheets.

So...what will I need to change to get it right?

Main (Typography):

Code: Select all

/*  - - - - Lists - - - -  */

#main ul {
        line-height:1.4em;
		margin: 0 0 1.5em 0;
		padding: 0;
	}

	#main ul li {
		margin: 0 0 0.25em 30px;
		padding: 0;

	}
	ol {
		font-size: 1.0em;
		line-height: 1.4em;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	ol li {
		font-size: 1.0em;
		margin: 0 0 0.25em 30px;
		padding: 0;
	}
	dl {
		margin: 0 0 1.5em 0;
		padding: 0;
		line-height: 1.4em;
	}
	dl dt {
		font-weight: bold;
		margin: 0.25em 0 0.25em 0;
		padding: 0;
	}
	dl dd {
		margin: 0 0 0 30px;
		padding: 0;
	}
Menu (Horizontal css menu):

Code: Select all

#primary-nav li li {
	font-weight: normal;
	width: auto;
	}

#primary-nav, #primary-nav ul { 
	list-style: none; 
	margin: 0px; 
	padding: 0px; 
	}
#primary-nav ul { 
	position: absolute; 
	top: auto; 
	display: none; 
	}
#primary-nav ul ul { 
	margin-top: 1px;
 	margin-left: -1px;
	left: 100%; 
	top: 0px; 
	}
#primary-nav li { 
	margin-left: -1px;
	float: left; 
	}
#primary-nav li li { 
	margin-left: 0px;
	margin-top: -1px;
	float: none; 
	position: relative; 
	}
	
#primary-nav a {
	color: #737373; 
	font-size: 9px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	display: block;
	margin: 0 0 0 30px;
	text-decoration: none;
	padding-top: 5px;
	padding-right: 10px;
	padding-left: 10px;
	}
If I change anything..will it also affect my menu?
Ah, I'll try playing around with it tomorrow..see what happens.
Please..feel free to make sugestions though.

Thanks