Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to make web site browser independent

    Hello

    Am designig a web site i want that sote to be appear same in all browser
    is their any script which makes my site look same in all browsers

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    JavaScript is not going to help to make your site look the same in every browser. Coding CSS and tweaking it for the browsers is what will make it look the same.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #3
    New Coder
    Join Date
    Aug 2010
    Location
    FL
    Posts
    35
    Thanks
    0
    Thanked 1 Time in 1 Post
    Quote Originally Posted by A1ien51 View Post
    JavaScript is not going to help to make your site look the same in every browser. Coding CSS and tweaking it for the browsers is what will make it look the same.

    Eric
    It depends on the site you are working with. You can adjust things with javascript to "deal" with certain browsers but like Eric said, most of your visual appeal will match if you style your site correctly with css

  • #4
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,189
    Thanks
    75
    Thanked 4,341 Times in 4,307 Posts
    And one thing that helps is to use a strict xhtml DTD. Even MSIE renders that more closely to the standard than it does loose xhtml or any variety of html.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •