List padding

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
volcanoboy

List padding

Post by volcanoboy »

i think

Code: Select all

* { padding: 0; margin: 0; }
removes the padding from my lists. Or atleast it looks good when i remove it from my stylesheet. Where can i set padding for my lists? I mean normal bullet list within the {content} tag.

see here: http://www.handelshusetmartinsen.no/2008/hagemobler
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: List padding

Post by Nullig »

In your stylesheet, change all of the lists ids from:

/* LISTS */
div#main ul,
div#main ol,
div#main dl

to

/* LISTS */
div#content ul,
div#content ol,
div#content dl

As you aren't using the "main" div in your template.

Nullig
volcanoboy

Re: List padding

Post by volcanoboy »

Forget i asked. I knew that :P

But thank's :-)
Locked

Return to “Layout and Design (CSS & HTML)”