I'm trying to create a layout that looks like a LI with a bullet, but that doesn't use a LI. I can't use a LI because I want to allow different items in the same list to have different bullet images. And from what I can tell LI bullet styles can only be set in the UL, so all LI in the same UL must have the same bullet image... and I don't want that. Please correct me if I am wrong about how LI's can be styled.
Here's the HTML that I'm trying to style so that it recreates a LI bullet.
<div><img src="..."/><p>Inbox:</p></div>
I'm not sure how best to achieve the following goals:
- Make bullet image display to the left of the item text box so that when there is lots of text the bullet hangs off in the left margin. The text shouldn't wrap under the bullet image.
- Keep the bullet image aligned middle with the first line of text (in the case of text wrapping). And keep the bullet middle aligned when the text changes size.
My high level goal is to recreate TaskPaper's UI in a web page:
I'll be happy to give a free license to the person with the solution that I like best.
Thanks,
Jesse