On 22/04/2004, at 11:37 AM, Noa Groveman wrote:

I recently converted a directory lister script from using <table> tags to using CSS styled tables (display:table), and I've noticed that there is no provision for a colspan attribute. This makes sense, because tables are for displaying tabular data and not for fancy headers, but I want to do it anyway. Basically I want to make the first cell (that displays the path) maintain the entire table's width without effecting the other columns' width as it does in the <table> version. Note, I have a user agent switch, since CSS tables don't work with IE, for displaying the old <table>s or the new display:tables accordingly. Here's an example: http://eastsdomain.com/test/ .

I don't get it. I don't think you need to use display:table to achieve what you want, but then again, it's not all that clear what you want. Why not post a table-version with a layout you like, then we can have a look at what to do from there.


Remember, it may still be appropriate to use a table (if it's tabular data), and it may also be worth thinking outside the box, taking advantage of CSS's strengths, rather than wasting life emulating table behaviour in CSS.


--- Justin French http://indent.com.au

*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************




Reply via email to