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
    Mar 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Internet Explorer HTML in google chrome

    I am still fairly new at coding. I took my first computer class and I can do HTML pretty well, currently learning visual basic. I have made many webpages in HTML but when I open them in chrome the links and other small things don't seem to work. They work fine in IE so I am not sure. Does anyone know why this might be (although I am sure it is something stupid, and I am sorry)

    Thank you

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    HTML is the same for all browsers so just what it is that is causing your problem is impossible to say without actually seeing a sample of what you are doing.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    ok

    ok, here is the code for one of my pages. They aren't very in depth because they were just for a computer class, but I am just wanting to know what I am doing wrong. Once again it is probably something stupid and small. I have no idea where the problem is so I just linked all of it.
    Code:
    <html>
    <head>
    <!---Alex Deal
    	Tables that don't look like tables
    	Lebo 4
    ---!>
    <title>Vocaloid Concert Information Page</title>
    </head>
    <body>
    <img src="wp3_16_bg2.jpg" style="position: absolute; z-index: -1; width: 100%; height: 100%">
    <table align="center" width="80%">
    <tr>
    <td colspan="2" align="center"><img src="wp3_26_main3.jpg" usemap="#links1" style="border-width: 0">
    </tr>
    <tr>
    <td width="50%" align="center" valign="center"><p style="color: black; background-color:RGB(108,216,244)">Vocaloid concerts have become extremely popular both in 
    Japan and America. While the music alone is extremely fun and brings people in, the way the concert is done attracts even mroe fans. Using a transparent screen
    and multiple cameras, a "hologram" of a vocaloid appears on the stage. While it isn't perfect technology, it looks very smooth and you get a different view from all sides.
    While the latest concerts have had smaller budgets and have done a regular television screen, the amazing technology used to bring vocaloids to the stage will always be amazing.
    Concerts so far include:
    39's giving day concert, 
    Mikunopolis (in California), 
    Mikupa, 
    Animelo Summer Live, 
    MikuFest, 
    King Run Anison Red and White Concert, 
    Vocaloid Festa, 
    And hopefully many more in the Future</p>
    <td width="50%" align="center" valign="center"><iframe width="640" height="360" src="http://www.youtube.com/embed/DTXO7KGHtjI?hd=1" frameborder="0" allowfullscreen></iframe>
    </tr>
    </table>
    <map id="links1">
    <area shape="rectangle" coords="47,95,171,163" href="index.html" alt="home page">
    <area shape="rectangle" coords="217,95,342,163" href="vocaloid.html" alt="Vocaloid program">
    <area shape="rectangle" coords="390,95,513,163" href="miku.html" alt="Hatsune Miku">
    <area shape="rectangle" coords="561,95,685,163" href="games.html" alt="Vocaloid games">
    <area shape="rectangle" coords="729,95,853,163" href="other.html" alt="other vocaloids">
    </body>
    </html>
    Edit: the reason I used a table here is because we were still just learning tables. If I need to use other code, I can link another.
    Last edited by vasheenomed; 03-02-2012 at 08:33 PM.

  • #4
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Looks like the doctype is missing - add the following before the <html> tag:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
     "http://www.w3.org/TR/html4/strict.dtd">
    Next run the code through the validator at http://validator.w3.org/ and correct all the errors that it reports.

    Once you have done that you will then have valid HTML which should work the same in all browsers.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • Users who have thanked felgall for this post:

    vasheenomed (03-03-2012)


  •  

    Posting Permissions

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