I would recommend using nested lists for this. So <ul> <li>Division 1 <ul> <li>Department 1-a</li> <li>Department 1-b</li> </ul> </li> <li>Division 2 <ul> <li>Department 2-a</li> <li>Department 2-b</li> </ul> </li> </ul>
It has the advantage of already indenting this stuff for you, and being semantically correct.(In that these are lists of departments contained within a list of divisions ) Terrence Ryan Senior Systems Programmer Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] -----Original Message----- From: Steven Sprouse [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 9:58 AM To: CF-Talk Subject: Creating an indented department directory I posted the other day about creating school pages and all of you were extremely helpful. Thank you! I have another issue today. I'm trying to create a department directory where we list the six main divisions and then indented a little bit are the departments that fall under that division (I know the indeted part will be done with some css). I have a table with DeptID, DeptName and SubDeptOf where SubDeptOf corresponds to the DeptID it falls under. I got CF to generate a department listing (see here http://www.ccboe.com/website/departments/departments_main.cfm) but I want to take it to the next level. Any help??? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247280 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4