39 users online (0 members and 39 guests)  


  Results 1 to 3 of 3

Related

  1. IFrame troubles    Forum: HTML Forum
    Replies: 3
  2. Traffic Troubles    Forum: Website Promotion Forum
    Replies: 0
  3. Firefox CSS troubles    Forum: CSS Forum
    Replies: 6
  4. ASP Imagemap form    Forum: ASP Forum
    Replies: 1
  1. #1
    antichriista's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2009
    Posts
    2

    more imagemap and iframe troubles

    Hi there,
    I referred to a previous thread a while ago to try an fix my webpage and have come up with a new problem:

    What I have is an image, which contains and imagemap and an iframe. The iframe continues to align itself at the bottom of the page under the image, (if the doctype is sited at the top), but if the doctype is removed, and the iframe aligns- the right half of my imagemap no longer works.


    Thanks infinitely for your help!

    -----------------------------------------------------

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>

    <head>
    <LINK REL=stylesheet HREF="style.css" TYPE="text/css">
    <title>Wine Gourmet</title>

    <style type="text/css">
    body {
    font: 80% verdana, arial, helvetica,

    sans-serif;
    text-align: center; /* for IE */
    }
    #container {
    margin: 0 auto; /* align for good

    browsers */
    text-align: left; /* counter the body

    center */

    border: 0px;;
    width: 788px;
    height: 878px;
    }
    p {
    margin: 0.3em 0.3em 0.5em 0.3em;
    }
    code {
    font-size: 100%;
    }
    </style>
    </head>


    <body>

    <div id="container" position: center>
    <IMG NAME="FINALWINO0" SRC="WINOOO copy.jpg"

    BORDER="0" USEMAP="#FINALWINO">
    <div style="position:relative; left:190;

    top:-648;">


    <iframe

    id="datamain"allowtransparency="true" src="news.html"

    width="385" height="530" frameborder="0" name="box"

    scrolling="no">

    </iframe>


    <MAP NAME="FINALWINO">
    <AREA SHAPE="rect" COORDS="598,207,746,455"

    HREF="winesandbeers.html" TARGET="box">
    <AREA SHAPE="rect" COORDS="603,495,748,592"

    HREF="clubs.html" TARGET="box">
    <AREA SHAPE="rect" COORDS="603,627,753,827"

    HREF="connectwithus.html" TARGET="box">
    <AREA SHAPE="rect" COORDS="11,263,158,301"

    HREF="whowhatwhere.html" TARGET="box">
    <AREA SHAPE="rect" COORDS="11,320,160,359"

    HREF="sitemap.html" TARGET="box">
    <AREA SHAPE="rect" COORDS="12,378,158,415"

    HREF="enewsletter.html" TARGET="box">
    <AREA SHAPE="rect" COORDS="11,437,158,473"

    HREF="seminars.html" TARGET="box">
    <AREA SHAPE="rect" COORDS="10,495,159,551"

    HREF="http://twitter.com/heyitswineg" TARGET="_blank">
    <AREA SHAPE="rect" COORDS="12,572,159,630"

    HREF="http://winegourmet.wordpress.com" TARGET="_blank">
    <AREA SHAPE="rect" COORDS="11,649,159,706"

    HREF="http://facebook.com/winegourmet" TARGET="_blank">

    </MAP>


    <!--Scrollable iframe script- By Dynamic Drive-->
    <!--For full source code and more DHTML scripts, visit

    http://www.dynamicdrive.com-->
    <!--This credit MUST stay intact for use-->

    <layer visibility=hide>

    <div position:center>

    <a href="#" onMouseover="scrollspeed=-2"

    onMouseout="scrollspeed=0"><img src="up.gif"

    border="0"></a>

    <a href="#" onMouseover="scrollspeed=2"

    onMouseout="scrollspeed=0"><img src="down.gif"

    border="0"></a>
    </div>
    </layer>

    </div>

    </div>
    </body>
    </html>

  2. #2
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: more imagemap and iframe troubles

    Could you please explain how it is supposed to work?

  3. #3
    antichriista's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2009
    Posts
    2

    Re: more imagemap and iframe troubles

    Thanks, someone has helped me with it and I think the problem is solved! I appreciate your inquiring, though.



Tags for this Thread