<ol><li>Link</li><li>Link</li><li>Link</li><li>Link</li></ol>
list-style-type: none
#nav li {display: inline;list-style-type: decimal;padding-right: 10px;}
<ol id=\"nav\"><li>link</li><li>link</li><li>link</li></ol>
"jitendra" said:No it's not working .Numbering not showing in any browser.
<html><head><style type=\"text/css\">#decimal {list-style-type: decimal}#decimal li {float:left; width:75px; padding:0;}</style></head><body><ol id=\"decimal\"><li>Coffee</li><li>Tea</li><li>Coca Cola</li></ol></html>
<style type=\"text/css\"> * {margin:0;padding: 0;} #decimal li {float:left; margin: 0 10px 0 30px;}</style><ol id=\"decimal\"> <li>Coffee</li> <li>Tea</li> <li>Coca Cola</li></ol>
I need to show like this :
1. Link 2. Link 3. Link 4. Link
Remember i need this on IE6 too.
Instead of using
You would use the following for styling:
Your markup would read something like this:
Hope that helps
did you find anything on google?
all the code I tried could not get what you wanted.
unless you write in the numbers yourself
I'll give it another look when I get home.