Browser problems using my own site.

Discussion in 'PHP' started by scriptsy26, Sep 3, 2010.

  1. #1
    Hello

    Got a site written in php and at home i work with google chrome and everything look fine, but if i go to my work and want to look and test the site then the site can not be used, you can not enter any tekst in de fields, also the colors are different. at work we use and older IE

    Is there a script or maintenance i can use or do that solves this problem.

    Thank you in advance.

    greetings
    Scriptsy26
     
    scriptsy26, Sep 3, 2010 IP
  2. jpratama

    jpratama Member

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    This is something like a browser compatibility issue. It doesn't related to PHP since it is a server side script. It caused by client side script like HTML, CSS or javascript. So you can start tracing with those client side scripts. This is a common thing especially with IE.
     
    jpratama, Sep 3, 2010 IP
  3. learnerabn

    learnerabn Peon

    Messages:
    131
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    can have the url?
     
    learnerabn, Sep 3, 2010 IP
  4. scriptsy26

    scriptsy26 Active Member

    Messages:
    274
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    83
    #4
    Yes thank you for your reply, in IE i have more problems with it, then other browsers, but i want to make it work for everybody, evn though the most people have an uptodate internet browser, so i will look up the client side scripts thanks.

     
    scriptsy26, Sep 6, 2010 IP
  5. scriptsy26

    scriptsy26 Active Member

    Messages:
    274
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    83
    #5
    it is in my signature, let me know what your thoughts are? thanks
     
    scriptsy26, Sep 6, 2010 IP
  6. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #6
    You just need a separate css file for the different browsers.

    In your case, I see you are already doing that, but it probable needs some corrections, try setting it to just:

    
    <!--[if ie]><style type="text/css" media="screen"> @import url(./ie.css);</style><![endif]-->
    Code (markup):
    ..then create and edit a new file called ie.css

    example: copy the content from another css file, make some changes and you will see a difference on an IE browser only.
     
    MyVodaFone, Sep 6, 2010 IP
  7. scriptsy26

    scriptsy26 Active Member

    Messages:
    274
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    83
    #7
    Oke thanks for your input, i'm going to try this out.

     
    scriptsy26, Sep 7, 2010 IP