<table>
        <colgroup>
                <col width="20%" />
                <col width="25%" />
        </colgroup>
        <thead>
                <th scope="col">Heading 1</th>
                <th scope="col">Heading 2</th>
        </thead>
        <tbody>
        <cfoutput query ="blah">
        <tr>
                <td>#itemA#</td>
                <td>#itemb#</td>
        </tr>
        </cfoutput>
        </tbody>
</table>

Using tables to display tabular data is correct.  When people say "Don't use
tables", they mean don't use tables for laying out a page design.

Note that this uses proper markup for xHTML 1.0 and HTML 4.0 strict.   All
presentation, should be defined in CSS (including borders, etc.).  Width's
are defined using the <col /> tag within a colgrouping tag set.  The
scope="col" on the th's is for accessibility to associate a table's data
cell with the heading in the proper <th>.



Sandra Clark
=============
http://www.shayna.com
Training and Consulting  in CSS and Accessibility
Team Fusebox

-----Original Message-----
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 02, 2007 3:57 PM
To: CF-Community
Subject: Organizing query results with css

Hey all

 

How would you do this with .css

<table>

<cfoutput query ="blah">

            <tr><td>#itemA#</td><td>#itemb#</td></tr>

</cfoutput

</table>

 





Scott Stewart
ColdFusion Developer 

HYPERLINK
"http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=7241+Jillspring+Ct&csz=Sprin
gfield%2C+VA.+22152&country=us" \n7241 Jillspring Ct
Springfield, VA. 22152 


HYPERLINK "mailto:[EMAIL PROTECTED]" [EMAIL PROTECTED]
HYPERLINK "http://www.sstwebworks.com"; \nhttp://www.sstwebworks.com 


tel: 
mobile: 

HYPERLINK
"http://www.plaxo.com/click_to_call?src=jj_signature&To=703-912-3076&Email=s
[EMAIL PROTECTED]" \n703-912-3076 
HYPERLINK
"http://www.plaxo.com/click_to_call?src=jj_signature&To=703-220-2835&Email=s
[EMAIL PROTECTED]" \n703-220-2835 

 



HYPERLINK
"https://www.plaxo.com/add_me?u=25770055805&src=client_sig_212_1_card_join&i
nvite=1" \nAlways have my latest info

HYPERLINK "http://www.plaxo.com/signature?src=client_sig_212_1_card_sig";
\nWant a signature like this?

 


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.24/742 - Release Date: 4/1/2007
8:49 PM
 
  




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:231850
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to