Good Afternoon All,
I have a table inside a div. The div has a style rule text-align:right;
. I realize the element is a table and not text, but nonetheless, I need the table to right align in FireFox. I stumbled upon -moz-right
which does the right thing in FireFox, however this breaks every other browser, i.e. the table aligns left as it was doing in FireFox. I read yesterday that the trick is make a CssClass and put both attributes in there.
.someClass { text-align:right; text-align:-moz-right; }
I have tried this and the result is the same, it works in one but not the other. I've tried switching their order which just reverses the effect. Is there any way to make this work in both IE(Safari and Chrome render it as IE does) and FireFox? Can any CSS gurus out there point me in the right direction? Thanks for any help.
Cheers,
~ck in San Diego