WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Working on a site for a client:


I added an HTML table to header.php to include the "Call us at..." and the social media icons. It renders fine in most browsers but IE7 screws up that table. I ran it through the W3C validator and that part of the code is fine.

You can see what I mean by putting the above URL into: http://ipinfo.info/netrenderer/

Any ideas for how to solve the problem? Thanks!


share|improve this question
up vote 3 down vote accepted

Write a stylesheet just for ie7 and link it in wordpress like so:

<!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/css/ie7.css" /><![endif]-->

in the file add this

#header table {float:right;}
#header table tr td p {margin-top:45px;}
share|improve this answer
Thanks a lot Eileen.. – jim_shook Nov 19 '10 at 23:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.