I am using dl
, dt
and dd
tags in one of my projects. I want to show a bullet before dd
. How can I make my dd
s into a bullet list using CSS?
相关问题
- Adding a timeout to a render function in ReactJS
-
Why does the box-shadow property not apply to a
- Add animation to jQuery function Interval
- jQuery hover to slide?
- Issue with star rating css
Use a background-image.
Or try:
No idea if it will work though.
You can either use the style attribute in the "dd" tag, or move that to a "style" section as a class or id. Since the dl is a list type you do not need the "display: list-item;" I think, might also be wrong. Anyways This might be used. Instead of the disc, you might use other types (look at http://www.w3schools.com/css/pr_list-style-type.asp)...
Hope this helps.
Easiest way is to change the properties on your
<dd>
Works in every browser.
See this article: http://www.quirksmode.org/css/display.html
tested it in firefox and just adding the style display:list-item should do the trick