Jump to content

getting a list item bullet


skaterdav85

Recommended Posts

I want to have a bullet-like icon in the middle of an anchor tag. Is there any way to get an empty-filled circle onto the page without using the letter 'o' or the number '0'? I'd prefer not to use images too.

Link to comment
Share on other sites

Not sure what you mean, but lets try these.
<ul sytle="list-style-type: circle;"><li><a href="#">A Link</a></li></ul>

while this will give a circle, it will put the anchor next to it, like a normal list. Perhaps if you try this method, but give the <li> a left margin and the anchor a negative left margin?
Link to comment
Share on other sites

but im not using a list at all. i just want a circle icon. can u do this in html or css?
umm....that is using HTML and CSS.....
Link to comment
Share on other sites

well, your topic title would suggest otherwise. maybe if we knew more about what you're trying to do. Or at least explain why this method is not preferred.

Link to comment
Share on other sites

good point. i should have been more descriptive. anyways, i am using the jquery cycle slideshow plugin. it allows for clickable elements to go to the pictures in the slideshow u want, but it automatically generates the elements as links with 1,2,3 etc. I used JS to change the innerHTML of these links once the page is loaded, but i want to change the innerHTML to circles. Since the plugin generates the elements, i cant really use lists.

Link to comment
Share on other sites

well, maybe this will help. write to the innerHTML with the special character that matches best.http://www.utexas.edu/learn/html/spchar.htmledit: this one has more dotshttp://www.degraeve.com/reference/specialcharacters.phpanyway, you can just try it with anyone of them just to see if it works.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...