I have a hidden table with border-collapse:collapse.
the problem is that when i load the page even though the table is hidden the borders between cells can be seen. this happen only when I have border-collapse:collapse.
if I set the border to 0 the problem will be solved but border-collapse would be useless there.
this is the simplified of the code which only shows the needed parts:
<table bgcolor=gray style={border-collapse:collapse;visibility:hidden;} border=1>
<tr>
<td>
menu 1
</td>
</tr>
<tr>
<td>
menu 2
</td>
</tr>
<tr>
<td>
Menu 3
</td>
</tr>
</table>Originally posted by amahmood
the problem is that when i load the page even though the table is hidden the borders between cells can be seen. this happen only when I have border-collapse:collapse.
um... could you point out to me where border-collapse: is even mentioned in w3.org? or somewhere. I know its not a part of CSS1 or CSS2 (at least i couldnt find it and havent heard of it) and i didnt see it in CSS3 though i could of easily passed over it. If it is in CSS3 then you shouldn't really use it. CSS3 has barely any support at the moment as it is still being developed. Even CSS2 isnt completely supported cross browser and all. Thank you Originally posted by pawky
um... could you point out to me where border-collapse: is even mentioned in w3.org? or somewhere. I know its not a part of CSS1 or CSS2 (at least i couldnt find it and havent heard of it) and i didnt see it in CSS3 though i could of easily passed over it. If it is in CSS3 then you shouldn't really use it. CSS3 has barely any support at the moment as it is still being developed. Even CSS2 isnt completely supported cross browser and all. Thank you
<!-- m --><a class="postlink" href="http://www.w3.org/TR/1998/WD-css2-19980128/tables.html#h-17.2.3">http://www.w3.org/TR/1998/WD-css2-19980 ... l#h-17.2.3</a><!-- m -->
I would assist you in your original issue, amahmood, however there is a more pressing concern. It appears you are using tables for something other than tabular data. Menus? It seems to me like you're trying to create a layout with a table, which is, of course, incorrect. If I'm correct in my assumption of your intentions, then you'll want to go back and recode your page semantically.Originally posted by pawky
um... could you point out to me where border-collapse: is even mentioned in w3.org? or somewhere. I know its not a part of CSS1 or CSS2 (at least i couldnt find it and havent heard of it) and i didnt see it in CSS3 though i could of easily passed over it. If it is in CSS3 then you shouldn't really use it. CSS3 has barely any support at the moment as it is still being developed. Even CSS2 isnt completely supported cross browser and all. Thank you
Thanks.
I used these instead and it works the same for me.
border: solid 0 #ffffff;
border-top-width:1px;
padding-top:0exOriginally posted by MstrBob
<!-- m --><a class="postlink" href="http://www.w3.org/TR/1998/WD-css2-19980128/tables.html#h-17.2.3">http://www.w3.org/TR/1998/WD-css2-19980 ... l#h-17.2.3</a><!-- m -->
thx ill have to read that ;P
the problem is that when i load the page even though the table is hidden the borders between cells can be seen. this happen only when I have border-collapse:collapse.
if I set the border to 0 the problem will be solved but border-collapse would be useless there.
this is the simplified of the code which only shows the needed parts:
<table bgcolor=gray style={border-collapse:collapse;visibility:hidden;} border=1>
<tr>
<td>
menu 1
</td>
</tr>
<tr>
<td>
menu 2
</td>
</tr>
<tr>
<td>
Menu 3
</td>
</tr>
</table>Originally posted by amahmood
the problem is that when i load the page even though the table is hidden the borders between cells can be seen. this happen only when I have border-collapse:collapse.
um... could you point out to me where border-collapse: is even mentioned in w3.org? or somewhere. I know its not a part of CSS1 or CSS2 (at least i couldnt find it and havent heard of it) and i didnt see it in CSS3 though i could of easily passed over it. If it is in CSS3 then you shouldn't really use it. CSS3 has barely any support at the moment as it is still being developed. Even CSS2 isnt completely supported cross browser and all. Thank you Originally posted by pawky
um... could you point out to me where border-collapse: is even mentioned in w3.org? or somewhere. I know its not a part of CSS1 or CSS2 (at least i couldnt find it and havent heard of it) and i didnt see it in CSS3 though i could of easily passed over it. If it is in CSS3 then you shouldn't really use it. CSS3 has barely any support at the moment as it is still being developed. Even CSS2 isnt completely supported cross browser and all. Thank you
<!-- m --><a class="postlink" href="http://www.w3.org/TR/1998/WD-css2-19980128/tables.html#h-17.2.3">http://www.w3.org/TR/1998/WD-css2-19980 ... l#h-17.2.3</a><!-- m -->
I would assist you in your original issue, amahmood, however there is a more pressing concern. It appears you are using tables for something other than tabular data. Menus? It seems to me like you're trying to create a layout with a table, which is, of course, incorrect. If I'm correct in my assumption of your intentions, then you'll want to go back and recode your page semantically.Originally posted by pawky
um... could you point out to me where border-collapse: is even mentioned in w3.org? or somewhere. I know its not a part of CSS1 or CSS2 (at least i couldnt find it and havent heard of it) and i didnt see it in CSS3 though i could of easily passed over it. If it is in CSS3 then you shouldn't really use it. CSS3 has barely any support at the moment as it is still being developed. Even CSS2 isnt completely supported cross browser and all. Thank you
Thanks.
I used these instead and it works the same for me.
border: solid 0 #ffffff;
border-top-width:1px;
padding-top:0exOriginally posted by MstrBob
<!-- m --><a class="postlink" href="http://www.w3.org/TR/1998/WD-css2-19980128/tables.html#h-17.2.3">http://www.w3.org/TR/1998/WD-css2-19980 ... l#h-17.2.3</a><!-- m -->
thx ill have to read that ;P