Jump to content

list-style-type:decimal;


Guest sceece

Recommended Posts

Guest sceece

Please help !!This is for an assignment and i can't see where i've gone wrong.css file:title {color:black;font-size:14pt;font-weight:bold;font-family:verdana, gill sans;display:block;margin-left:30px;margin-top:20px;margin-bottom:30px;letter-spacing:5px;}ingredients {font-color:black;font-size:10pt;font-family:verdana, gill sans;display:list-item;list-style-type:disc;margin:5px;margin-left:30px;}instructions {font-color:black;font-size:10pt;font-family:verdana, gill sans;display:list-item;list-style-type:decimal;margin:5px;margin-left:30px;margin-top:20px;}hint {font-color:black;font-size:10pt;font-family:verdana, gill sans;display:block;margin:5px;margin-left:30px;margin-top:30px;resulting page:title is fineingredients is fine - bullets appearinstructions is crap - my decimals start at 13 - is there a way of fixing this??????Thankssceece

Link to comment
Share on other sites

Give the list a starting value (in your case 1)<ol style="list-style-type: decimal" start="8"><li>Coffee</li><li>Tea</li><li>Coca Cola</li></ol>would produce8. Coffee9. Tea10. Coca Cola

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...