Can't figure this out...

by DavidO
4 replies
  • WEB DESIGN
  • |
I've got a page on an unused domain that displays perfectly in both IE and Firefox:

Lower blood pressure naturally

But when I upload the files to my regular domain I get formatting errors in IE:

Lower blood pressure naturally

but it's till okay in Firefox.

I know the conflicts between browsers but why does it format correctly in both browsers in the test domain?

There can be no doubt that they're all the same files because I uploaded the complete folder from the first domain to the second and I've repeated it several times to be sure.

I've been working on this bug for most of the day and I can't figure it out.

UPDATE:

I still don't know what caused this bug but I've been able to "fix" it by adding a -15px margin to the header shadow in the ie.css file.

First time I've ever used an ie.css fall-back file. Is this the right way to go about it?
#figure
  • Profile picture of the author ronc0011
    There is a little snippet of code that you can put in the "head" section of your pages that will cause the page to use an alternate CSS file if the visitor is using IE. Then you just need to make a copy of your CSS file with the appropriate changes in it for IE.


    Don't ask me what the code snippet is, I always have to go look it up whenever I run into this but it's just like one line of code.
    {{ DiscussionBoard.errors[3619670].message }}
    • Profile picture of the author DavidO
      Thanks for that. I did indeed solve one of the bugs with that method. It's good to know.

      But I've got other bugs that are completely over my head. I need a good coder.
      {{ DiscussionBoard.errors[3620095].message }}
    • Profile picture of the author reboot38
      Originally Posted by ronc0011 View Post

      There is a little snippet of code that you can put in the "head" section of your pages that will cause the page to use an alternate CSS file if the visitor is using IE. Then you just need to make a copy of your CSS file with the appropriate changes in it for IE.


      Don't ask me what the code snippet is, I always have to go look it up whenever I run into this but it's just like one line of code.
      Best write up I've seen on IE-Only conditional statements
      {{ DiscussionBoard.errors[3629612].message }}
  • Profile picture of the author haymanpl
    What theme and framework are you running?
    {{ DiscussionBoard.errors[3620327].message }}

Trending Topics