empty-cells: show ignored when used border-collapse: collapsed
hbmehta
7:28 pm on Apr 1, 2010 (gmt 0)
Hi Guys,
I need border-collapse: collapse and empty-cells: show together any idea how to do it? As per css standards it will be ignored I know but really need some work around.
Thanks in advance.
Hardik
hbmehta
9:08 pm on Apr 1, 2010 (gmt 0)
Well after I post this, I got the answer. I was looking specifically for IE as it was working fine for ohter browsers. I found that it must include the proper doctype to make it for for IE.
So solution is - one can have border-collapse: collapsed and empty-cells: show together. Only thing is it also need proper doctype. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Just for the reference if someone also encounter this.