Jump to content

Recommended Posts

Posted

On www.traditionalgolfsociety.com/rules there is an ol under each topic and the topics themselves constitute a list. What I need to do is be able to have the ol display a 1.1 and 1.2 and 1.3 and maybe 1.2.1 etc. Any suggestions?

Posted (edited)

There is no css or html code for that type of numbering format. You will have to apply them manually with something like this:

 

<li>

<span class="count">2.1.1</span><a href="url">Title</a>

</li>

 

 

span.count {

width: 40px; /*adjust the width as desired*/

}

 

You could search to see if there is a jquery script that will do something like that for you.

Edited by Eddie
Posted

There is no css or html code for that type of numbering format. You will have to apply them manually with something like this:

 

<li>

<span class="count">2.1.1</span><a href="url">Title</a>

</li>

 

 

span.count {

width: 40px; /*adjust the width as desired*/

}

 

You could search to see if there is a jquery script that will do something like that for you.

 

Thank you, Eddie!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...