If you are looping, you can easily display the row number using the loop index.
IE does not often recognize seudo-classes such as :first-child :before, etc. In fact, I think (might be wrong) that counter-increment is in a CSS version higher than IE knows. You can sometimes gain compliance in IE by changing your doctype to XHTML1.0 Strict (look up the exact syntax). This usually only works for me in IE7 though, version 6 doesn't provide much hope for the developer. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -----Original Message----- From: Paul Ihrig [mailto:pih...@gmail.com] Sent: Monday, May 11, 2009 8:42 AM To: cf-talk Subject: table display: row number. without recordset i have a bit of css, that displays row number, excluding header. works in FF but note iE .. table { counter-reset: line-number; } td:first-child:before { content: counter(line-number) "."; counter-increment: line-number; padding-right: 0.3em; } is there a way using coldfusion or JS/jquery to display the row number of a table? independent of a recordset... thanks -paul ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322374 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4