Forum Moderators: not2easy

Message Too Old, No Replies

firefox and ie compability

         

rahulmore

11:29 pm on Jan 16, 2009 (gmt 0)

10+ Year Member



i have a web page , for which i have a css , now my problem is tht i have diff view for both the browswers -ie and firefox
and to make matters worse , one tab works perfectly while other has problems ie the main page has problems in following the css while one of the used tags is working perfectly.

as a newbie to css and web developement i have problems understanding it .. plz suggest where i should start from .

the website uses sas.

any any any help will be gr8ful,, this is my grad school proj and i am nervous

swa66

4:19 am on Jan 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



While we don't do homework, pointing to a path to success isn't doing your homework. The trick to get it done that I use is simple:
  • make it work in the standards complaint browsers (pick one of FF, safari, opera, ...). DO NOT even look at it in any version of IE. IE will only confuse you.
  • Once "done" in your browser of choice, check it in the other standards compliant browsers, just to make sure you're not exploiting a feature or triggering a bug in one of them (you'll find few if any of these)
  • Make sure to understand why each and every statement is needed, that everything you have is valid code and a logical whole.
  • Consider the code done for all browsers but IE.
  • For each version of IE that you want (have) to support:
    - check what IE is doing wrong and use conditional comments to fix it, there might be logic to be found, but often it's faster to ignore the twisted logic of IE and just fix it so it works for IE (the conditional comments are parsed only by IE, for the rest of the world it are just comments that are skipped.
    - do not target IE8 with conditional comments, it's promised to be standards compliant when they will release it eventually
  • done