How do I place an image before a dt element using CSS? (similar to the list-style-image in a ul/li element)
Thanks, ew
Moby_Dim
7:39 pm on May 6, 2006 (gmt 0)
May be use in dt style background : url(img.gif/jpg) top left no-repeat. And add some padding-left to adjust.
londrum
8:16 pm on May 6, 2006 (gmt 0)
the browser probably sets the <dt> as display:block by default. so just make it display:inline, or display:run-in. and do the same with the image too, because that might be displayed as a block as well