ThemeShaper Forums » Thematic

Insert IE conditionals into functions.php

(3 posts)
  • Started 3 years ago by Mischif
  • Latest reply from greenshady
  • This topic is resolved
  1. Apparently IE 7 doesn't want to display my CSS correctly (who'da thunk?), but it seems that all the pages are off by the same amount, so I just have to insert a conditional that will change one CSS value and everything will be all right. But I don't know how to do that. Can anyone help?

    Posted 3 years ago #
  2. i know it's not valid, yada yada, but if you're comfortable adjusting the CSS itself, you could always use the (*) hack to adjust values for IE.

    Posted 3 years ago #
  3. Since Thematic has built-in browser detection within it's <body> class, you can target IE7 in your CSS by prefixing it like this:

    .ie7 p {
    	/* This targets all paragraphs in IE7. */
    }
    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.