how to break this in tabs
hi below is my code whre i am getting data from query based on the id i grouped them and i need to do that divide these in to tabs.
here i pasted my code
<cfoutput query="qryAvailable" group="id">
<span style="float:left; font-weight:bold;">
<span style="width:140px; float:left;">#course_type_desc# Courses <br></span>
</span>
<div style="clear:both; line-height:0px; margin:0px !important; padding: 0px;"> </div>
<cfset selectedCourses = "">
<cfif structKeyExists(attributes, 'courseType' &id)>
<cfset selectedCourses = attributes['courseType' &id]>
</cfif>
<cfoutput>
<span class="row#Int(currentrow mod 2)#" style="float:left; width:575px; margin:0; padding:0;" >
<cfset checked = "" />
<cfif listcontains(selectedCourses,course_id)>
<cfset checked = 'checked="true"' />
</cfif>
<input type="checkbox" name="course_id" id="#course_id#" value="#course_id#" #checked#/>
<label for="#course_id#">
<span style="padding-left:5px;"> </span>
#course_desc# (#course_id#)
</label>
</span>
<div style="clear:both; line-height:0px; margin:0px !important; padding: 0px;"> </div>
</cfoutput>
<span style="clear:both; line-height:0px; margin:0px !important; padding: 0px;"> </span>
</cfoutput>
