Log in

View Full Version : List padding/margin


Snakehill
10-07-2010, 12:33 PM
I really don't like the padding/margin on the list bbcode (or perhaps the lack of this because it just shows the browser standard).
like that it jumps to the right instead of just positions at the left side
and that there is an automatic whitespace above and below
Is there anyway to get rid of it/to change it all to 0px?

Thanks a lot!

kh99
10-07-2010, 12:41 PM
I don't know off the top of my head (maybe someone else will answer), but you could read here about CSS margins, padding, etc: http://www.w3schools.com/css/default.asp then try adding some CSS using a style attribute on the li tags in the bbcode definition.

Snakehill
10-07-2010, 12:51 PM
Where exactly should I add it? In the bbcode_list phase?
And how?

EDIT: I figured that putting the following code in the Additional CSS Definitions solved it:
ul {list-style: inside; padding-top: 0px; padding-left: 0px; margin: 0px;}

I put the padding-left on 5px for my own board because otherwise the list markers would be stuck to the side.