How can I fix my template to work on all Internet Browsers?

Discussion in 'HTML & Website Design' started by SharkHost, Apr 17, 2010.

  1. #1
    Hello everyone I for the first time ever made my own simple html template.
    problem is it currently only works for firefox.
    http://www.Shark-Host.com

    Any ideas on how I can get it working with IE8 and maybe Chrome? have not tested with Chrome.
     
    SharkHost, Apr 17, 2010 IP
  2. themes4all

    themes4all Well-Known Member

    Messages:
    662
    Likes Received:
    47
    Best Answers:
    6
    Trophy Points:
    100
    #2
    there is a lot of miss in your code.
    make a Stye.css alone and link to it in your template.. check your website here : http://validator.w3.org/ that will fix the errors, then the IE will read your template correctly.
     
    themes4all, Apr 17, 2010 IP
  3. nfzgrld

    nfzgrld Peon

    Messages:
    524
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, I imagine it would be problematic. You need to tell the browsers what you're sending. The fist couple of lines of your page look like this:
    html>
    <head>
    Code (markup):
    Notice something? First, your html tag is missing the opening "<" character. That could definitely throw off a browser, especially one as proprietary as IE. But there's a bigger problem. You have no DOCTYPE tag on your page. The previous post said to go to the W3C validator, and you should. But first, you need to go read some other stuff there. Go to http://www.w3.org and read about DTDs. Meanwhile, fix your html tag, and put this at the very top of your page, the VERY top before the html tag:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    Code (markup):
    That may or may not be the best DTD for your particular needs, but it will do for a start. Now the browsers will know how to interpret your page. By the way, those are some pretty low hosting prices you have listed there, are those for real?
     
    nfzgrld, Apr 17, 2010 IP
  4. canadianguy_001

    canadianguy_001 Peon

    Messages:
    97
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you are just learning HTML I would definitely recommend checking in all browsers as you build the site. You shouldn't wait until the end to test in other browsers because it will be harder for you to narrow down problems in your code.
     
    canadianguy_001, Apr 17, 2010 IP
  5. sajan1kota

    sajan1kota Active Member

    Messages:
    186
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    50
    #5
    You can you various tools available on the internet to check the your website cross browser compatibility.
     
    sajan1kota, Apr 18, 2010 IP
  6. SharkHost

    SharkHost Guest

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    @nfzgrld

    Okay it worked now it works on all browsers but..
    now I can't even move my div tables. anyone know how to fix?
     
    SharkHost, Apr 23, 2010 IP
  7. SharkHost

    SharkHost Guest

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Please anyone no one has replied to me back.
     
    SharkHost, May 7, 2010 IP
  8. webcrazy

    webcrazy Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hi sure i can help you to solve your browser related issues that actually depends how you had htmlised the design , i can help you to removed bugs through css or css hacks if you need any help kindly send me your all requirement on thanks
     
    webcrazy, May 9, 2010 IP
  9. MervinJ

    MervinJ Peon

    Messages:
    60
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I'd be more concerned with the letter your bound to get from Dreamworks regarding copyright infringement...
     
    MervinJ, May 11, 2010 IP