By Jake on December 2nd, 2008

While developing my current website for my business i needed to come up with a replacement for the <li> tag and after thinking about it i cam up with two ways of doing it. I shall qucikly share them with you.

1. CSS

The first thing you could do if you still really wanted/needed to use a tag would be to add a new css element.

TAG {
display: list-item;
list-style-type: disc;
}

of course change “TAG” to what you could like your tag to be like, “list” and use it as <lis></lis>

2.HTML

The other and proberlly more simple way for you non CSS users out there(I know you exist) you can use the following code to generate a bullet point.

&#8226;

I hope that helped guys, its only small but like me it could make not having to remake your navigation.

Please Bookmark the site:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Live
  • Print this article!
  • Technorati
  • TwitThis

Leave a Reply


We're proudly powered by wordpress
With an extra shot of expresso from starbucks
Our theme was designed and created by initialsketch
We like to talk to you about technology, so join and comment!
453 posts published
262 registered users.
Jakes Blog:: Off to Tauntons! http://bit.ly/sQAtJ 1 day ago