Go Back   HTMLCenter Web Development Forums > Web Design and Development > Programming and Scripting

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-10-2007, 12:39 PM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,396
Ordered, numbered table columns?

Any thoughts on an easy way to create a table in which the first column is an ordered list? In other words, I would be making a table that looks somewhat like:

Code:
========================================================================================
=   1 = This is a test           = This is more test           = This is the end       =

=   2 = This is a second row     = This is more test           = This is the end       =

=   3 = This is a third row      = This is more test           = This is the end       =
========================================================================================
Obviously, you can't wrap an ordered list around a table. I've tried styling my first column as "list-item" and giving it a "list-style" of "decimal", but that didn't work.

Any thoughts? The table I'm working with has five columns (including the numbers) and will have a varying number of rows. I really don't want to have to try to put static numbers inside the columns. Any help would be appreciated. Thanks.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote

  #2 (permalink)  
Old 12-10-2007, 02:46 PM
Allen's Avatar
Administrator
 
Join Date: Dec 2001
Location: Atlanta, Georgia, USA
Posts: 1,037
Is the data dynamically generated? If so, could you loop it to get the right number?

What about doing it as css with no table? I guess then you still have the numbering issue.
Reply With Quote
  #3 (permalink)  
Old 12-14-2007, 02:07 PM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,396
Actually, to be very specific about the situation, I am placing the table inside of a WYSIWYG editor and allowing people to create checklists. I wanted the numbers to be automatically populated (which they are if they are part of an ordered list in the WYSIWYG editor), but the table has to have four input columns (task description, person responsible, deadline and "done").

I ended up just setting it up normally inside the WYSIWYG editor, and I'm going to rely on the users to insert the numbers themselves. It just seems like there should be a good way to use an ordered list as a column inside a table, but there doesn't appear to be a valid way to do so as of yet.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing table border colours in firefox?? tekengine Browsers 5 09-30-2006 08:58 PM
Scrolling in a table nyrunner Programming and Scripting 3 04-10-2006 09:23 AM
Table Alignment Crewman Programming and Scripting 1 04-08-2006 08:54 AM
Clueless-user-friendly Table Data obloquy Programming and Scripting 1 12-25-2005 07:43 AM


All times are GMT -5. The time now is 09:58 PM.

 
KickApps
Clicky Web Analytics


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter