On 8/22/07, Timothy Kelty <[EMAIL PROTECTED]> wrote:
> I've been trying to figure out how to hide an entire table column, defined
> by a <col> tag
>
> The following hides the column in Firefox and IE, but does not do anything
> in Safari:
>
> col#test{
> visibility: collapse; /* hides column in Firefox */
> display: none; /* hides column in ie6, ie7 */
> }
This is ugly and hackish, but since cross-browser support for <col> is
so spotty, I usually just apply a class name to the <td>s and <th>s in
a column, then apply display: none to all elements with that class
name.
:Dan Dorman
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/