<ol> and <li>
Posted: 22 October 2004 11:15 AM   [ Ignore ]  
Research Assistant
RankRankRank
Total Posts:  423
Joined  03-23-2004

This code is derived from the template comments template.
But instead of properly numbered entries (1. 2. 3. 4…) I only have 1. entries.
Does anyone see the fault in the code?

<ol>
{exp:comment:entries}
<div id=“divider”>

<li><h1>{comment}</h1>
<h1>Posted by {url_or_email_as_author} on {comment_date format=’%Y/%m/%d’} at {comment_date format=’%h:%i %A’}</h1></li>


</div>
{/exp:comment:entries}
</ol>

Profile
 
 
Posted: 22 October 2004 11:47 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  831
Joined  04-24-2002

Why is there a div in the ol?  Do you have a page we can look at?

 Signature 

chrisruzin.netTextMate EE BundleTextMate EE Developer BundleSolspace
“The greatest barrier to success is the fear of failure.” - Sven Goran Eriksson

Profile
 
 
Posted: 22 October 2004 11:51 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  245
Joined  08-27-2004

At one time I did have this working eventually, but later took out the <ol> entirely since it does not validate as XHTML correctly (see this thread).  I will try to dig out my notes on how I ended up getting it to work and post back if I find something.

Profile
 
 
Posted: 22 October 2004 12:05 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
RankRankRank
Total Posts:  423
Joined  03-23-2004

Just took out the <ol> and <il> because it indents the comment entries.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 66392 Total Logged-in Users: 32
Total Topics: 84721 Total Anonymous Users: 17
Total Replies: 454706 Total Guests: 195
Total Posts: 539427    
Members ( View Memberlist )