Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Working on a site for a client:

http://esteyprinting.jasinternetmarketing.com/

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!

Jim

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.