|
Posted by Jonathan N. Little on 10/22/29 11:19
Martin wrote:
> On Wed, 22 Jun 2005 18:44:37 +0100, David Dorward <dorward@yahoo.com>
> wrote:
>
>
>>Martin wrote:
>>
>>
>>>This works as expected in IE but not in FireFox.
>>
>>><col width='1%' style='display:none'>
>>
>>http://www.w3.org/TR/CSS21/tables.html#q4
>>http://ln.hixie.ch/?start=1070385285&count=1
>
>
> Thanks. I looked at both of these but I didn't find the answer to my
> question.
>
> Can someone possibly give me an example of how to hide this column in
> both IE and FireFox?
>
>
Did you read the article on the 2nd link? It answered your question,
'no' because 'col' is not container of the table cells...
At present, the only way I know of to set the table cells of said column
to a class where you have set the display property to 'none'
<style type="text/css">
.hideme {display:none}
</style>
<table>
<col width="200"><col width="300"><col width="400">
<tr><td>Visable</td><td>Visable</td><td class="hideme">Hidden</td></tr>
<tr><td>Visable</td><td>Visable</td><td class="hideme">Hidden</td></tr>
<tr><td>Visable</td><td>Visable</td><td class="hideme">Hidden</td></tr>
<tr><td>Visable</td><td>Visable</td><td class="hideme">Hidden</td></tr>
<tr><td>Visable</td><td>Visable</td><td class="hideme">Hidden</td></tr>
<tr><td>Visable</td><td>Visable</td><td class="hideme">Hidden</td></tr>
</table>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|