I would like to use the display:table and table-cell styles in CSS. i Know FireFox supports it but I need Internet Explorer to support it too. Im a good Javascript programmer, but have never written an HTC and I would like to have one that turns Divs with the display:table style into actual tables. If this is possible, I would like to go this route. If there is a better way already, please let me know, I will Atempt to write this, and if i am successfull, i will post it
I design/develop, and host websites for customers. I am trying to make the websites W3C compliant. I used to use Tables to layout my designs, however i would like to start using Divs and CSS to layout it out, mostly so i can have a separate stylesheet for printing You cant do everything Tables do with just css, unless you use the "display:table" style. I've searched and tried for alternative ways to acheive the same effect, but they aren't nearly as flexable than just using Tables or the "display:table" style. Anyway, i'm pretty set on using the Display:table style but it does not work in IE, so i am thinking of writing a behavior that will a turn a div with that style into an actual table.
It may seem that way to someone who has just started learning a new set of techniques, but it just isn't so. I don't believe you will find any method to do that, and you certainly won't find a method that will work for all IE users. Most likely there is a better approach. You need to take a step back and rethink. (Basically what kk5st said.)