image map wont work, other page wont display in Firefox....whats wrong?

Discussion in 'OT Technology' started by RoyMan, Oct 13, 2004.

  1. RoyMan

    RoyMan Guest

    Ok heres the image map one.... it will not work in IE

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="styles.css" />
    </head>
    <body>
    <img src="img/logo.gif" />
    </br>
    <img src="img/navbar.gif" usemap="navbar" />
    <map name="navbar">
    <area shape="rect" coords="48,3,108,25" href="content_a.html" target="mainFrame" />
    <area shape="rect" coords="127,0,191,24" href="about.html" target="mainFrame" />
    <area shape="rect" coords="217,0,304,24" href="portfolio.html" target="mainFrame" />
    <area shape="rect" coords="323,0,383,24" href="links.html" target="mainFrame" />
    <area shape="rect" coords="404,3,483,24" href="contact.html" target="mainFrame" />
    </map>
    </body>
    </html>

    Now here is the page that will not work in firefox

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
    <html>
    <!-------------------------------------->
    <!-- Roy D. Hobbs ------------------->
    <!-- October 12, 2004 --------------->
    <!-- Project 1 ------------------------>
    <!-------------------------------------->
    <head><link rel="stylesheet" type="text/css" href="styles.css" /></head>
    <frameset rows="143,*" frameborder="NO" border="0" framespacing="0">
    <frame src="header.html" name="topFrame" scrolling="NO" noresize >
    <frame src="content_a.html" name="mainFrame">
    </frameset>
    <noframes>
    <body>
    <h2>Sorry your browser does not support frames.</h2>
    </body>
    </noframes>
    </html>
     

Share This Page