I need to make a custom list-style markers. Now it’s done by adding element before li, but exist one problem. The remaining lines should be aligned with the text for the marker, such as normal marked list, but they don’t.
li p::before {
content: "* ";
}
How I make padding for second, third and etc lines, and make it cross-browser? (IE8+, FF3+, Opera 11+ and Crome)
Maybe this will work. May I know why can’t you use images (simple curiosity)?
EDIT: I was wrong,
:beforeinsert pseudo-element before content, sowill work.