View Full Version : unable to show empty cells in a table
elayappan
04-25-2007, 09:27 AM
Hi,
I have a probelm while using empty-cells: show in a table.
This works fine in Firefox1.0 browser but this doesn't work in IE6.0. In W3Schools it is mentioned that IE supports this from 5M version.
Can anyone help me to get rid of this probelm.
Thanks
VIPStephan
04-25-2007, 01:00 PM
Numerous other websites that came up after searching for "empty-cells css" or "empty-cells ie" tell me that IE doesn’t support it. Google is your friend.
Workaround: put in empty cell.
P.S.: You should upgrade your browsers. We have Firefox 2 and IE 7 already.
elayappan
04-26-2007, 06:13 AM
Hi Stephan,
Thanks for ur reply. I know already that we can use or to show borders of empty cells. And my question - why empty-cells: show doesn't work in IE6.0.
Note: It is good practice to use because is not recognized by XPATH
felgall
04-26-2007, 07:06 AM
why empty-cells: show doesn't work in IE6.0.
Because Microsoft didn't care to implement that part of the standards back when the created IE6.
koyama
04-26-2007, 09:22 AM
In W3Schools it is mentioned that IE supports this from 5M version.
Note that 5M refers to the IE5 Mac version. It is entirely different from IE on the Windows platform.
westmatrix99
04-26-2007, 10:05 AM
Hi,
I have a probelm while using empty-cells: show in a table.
I am not sure I understand this one:
You DO want to show empty cells? (Add this in the code: )
OR
You DON'T want to show empty cells? (Remove this in the code: )
I am not sure I fully understand the question though.
Cheers
VIPStephan
04-26-2007, 11:11 AM
Yes he does want to show (borders of) empty cells and no he doesn’t wanna use because it ain’t recognized by XPATH. And the answers the others gave are sufficient to build an opinion.
IE6 just doesn’t support it. We have to live with it becaue we can’t do anything to make it support.
westmatrix99
04-26-2007, 11:37 AM
Ok too bad then, cheers
Arbitrator
04-26-2007, 01:40 PM
In W3Schools it is mentioned that IE supports [the empty-cells: show declaration] from 5M version.I would use the Web Browser CSS Support (http://www.webdevout.net/browser-support-css) table to compare compatibility; it has information about every property in a single place. From the table, you can see that Internet Explorer does not support the empty-cells property. Even Firefox and Opera lack a complete implementation.
Workaround: put in empty cell.Another way to force a cell to be drawn is to put an empty span element inside it. It’s still a “hack”, but it might be considered more semantic since the cell still lacks data.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.