Results 1 to 7 of 7

Thread: Browser Independent Coding

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Answers
    18

    Browser Independent Coding

    I have used some html code in a java program. It is running correctly in Netscape and Firefox, but not in Internet Explorer. How can i modify the html code so that it runs in all the browsers. Is there any coding standards?


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: Browser Independent Coding

    Some coding standards are there. For example if you use
    Code:
     like this, it is working perfectly in IE but not in firefox.

    So if you use
    Code:
    like this, it will work in IE and Firefox. So you need to check all the place you are using the correct syntax.

    I give just only one example...If you work with that you can find more...

    ------------------
    suresh


  3. #3
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: Browser Independent Coding

    Some problem in my previous post...I don't know why it is showing like that...
    Here is my answer....

    Some coding standards are there. For example if you use "table border=0 width=1000 cellpadding=0 cellspacing=0" like this, it is working perfectly in IE but not in firefox.

    So if you use "table border=0 style="width:1000px" cellpadding=0 cellspacing=0" like this, it will work in IE and Firefox. So you need to check all the place you are using the correct syntax.

    I give just only one example...If you work with that you can find more...

    ------------------
    suresh


  4. #4
    Junior Member
    Join Date
    Aug 2007
    Answers
    18

    Re: Browser Independent Coding

    Thank You. But still i didnt understand anything. can u explain it better?


  5. #5
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: Browser Independent Coding

    IE - like your spoken english (you can make mistake..It is not bother about that. That's why it is called user friendly)
    Firefox - grammatical english (It is like a strict english teacher)

    --------------------
    suresh


  6. #6
    Expert Member
    Join Date
    Dec 2007
    Answers
    138

    Re: Browser Independent Coding

    Hell Friend, the browser compatibility issue is not only with ,its the issue with most of the developer. So as much try to use CSS class to set the controls property because the IE and firefox have different implmentation of pixels and points.'
    and if you could not resolve the issue then make a code for browser specific


  7. #7
    Junior Member
    Join Date
    Apr 2010
    Answers
    1

    Re: Browser Independent Coding

    hmmm good one , thanks


  8. Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    About us
    Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
    Interact