Bullet points

Jan. 11th, 2011 11:33 am
[personal profile] aldro posting in [community profile] style_system
I’m not sure if this is the best place for this, but I bet someone here has the answer.

I often use bullet lists in my posts. If a list item takes more than one line/sentence, the second line is automatically aligned under the bullet. To me, that looks a bit messy and I’d rather have the text set more to the right, so that all lines are aligned under one another. To do that, what do I need to change in my CSS?

My apologies if my explanation is vague. English isn’t my first language and I can’t think of another way to explain it.

Date: 2011-01-11 11:55 am (UTC)
jana: [Naruto] Sakura (Default)
From: [personal profile] jana
Try adding .entry-content ul li {list-style-position: outside;} to your custom css.

Date: 2013-09-18 08:37 am (UTC)
everbright: Eclipse of Saturn (Default)
From: [personal profile] everbright
Saw this entry linked form a later post! Thanks much, works like a charm for me too!

Date: 2011-01-11 11:56 am (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Hm, okay look for:

.entry-content li, .comment-content li { list-style-position: outside; }

and change that outside to inside, and that should do it for you.

Profile

Dreamwidth style system discussion

June 2025

S M T W T F S
1234567
891011121314
15161718 1920 21
22232425262728
29 30     

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 1st, 2025 04:55 am
Powered by Dreamwidth Studios