Jump to content

[SOLVED] Centering Text in IE7 TH Element?


VikR

Recommended Posts

I have text in a table header element that is centered correctly in Firefox/XP, Firefox/Mac, and Safari/Mac, but on IE7/XP, it isn't centered. Here's a link to the demo:

 

http://tinyurl.com/c3kj6g

 

The text I am trying to center is "Clear All", "Save This", and "Friendly Helper". (screen shot attached).

 

table-header-anomaly.jpg

 

What is the correct way to get this text to center in IE7?

 

Thanks very much in advance to all for any info.

Link to comment
Share on other sites

Just a stab. Did you try adding text-align center to your th "TopOfTable" div?

 

Also, just an fyi, without javascript on you've got various issues, not to mention the problems in IE6.

 

Edit: I didnt notice the text that's there telling me to turn javascript on.

Link to comment
Share on other sites

Thanks for checking out the page. Yes, I do have text-align: center on my top of table div. That's what's so odd.

 

There's also a notice to IE6 users saying that a later version of IE is required to access the site. It may not show up on the demo, but it's on the live site.

Link to comment
Share on other sites

Honestly, I saw the link.  I was expecting you to post the relative code for the table and css that goes with it, not expect people to search that ridiculously long style sheet.

 

But, i did take a quick look and would guess that your problem is

 

.spinner_goes_here

 

being set to 100px;  Try removing that to humor me.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.