InternetExplorer7: TH alignment
Kaspatoo
- css
Hi,
I got problems in IE to align the content of a TH.
My question is:
How do I centeralign my content within a TH-tag on IE7?
When I do not use any css on the TH, the browser calculates its width and the content is aligned middle by default (what is what I want, centeralign the content).
But when adding style="width:45px" the cell shrinks to 45px but the content now is left-aligned.
I tried to use text-align:right the content is.. well... its like a margin-left:10px (everything happens in IE7, V8 and FF are working correctly).
Thanks for any help.
hi,
just decline the existence of IE<8.
mfg
tami
lol
but 6 and 7 is a requirement..
You can get rid of some well-known ie7-bugs using this javascript-library.
Note: There are simlilar libraries for other IE-versions.