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

Thread: image help

  1. #1
    New Coder
    Join Date
    Oct 2006
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow image help

    I'm having trouble all over the place today. Ok, I have this code:
    <html><head>
    <style type="text/css">
    body {margin:0px;}
    #bg_image {
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: 0;
    }
    #contents {
    z-index: 1;
    position: absolute;
    }
    </style>
    </head>
    <body>
    <div id="bg_image">
    <img src="vistawindow.gif" style="width: 100%; height: 100%;" id="IMG1">
    </div>
    </body>
    </html>

    I trying to use image maps but the cordinates are always wrong because of the automatic resize. What do I do? How do I make it get the right ordinates?

    This is impossible, isn't it? Whoever figures this out must be the SMARTEST person in the world! lol help.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    What do you mean the coordinates are always wrong? And why did you post this in the JS forum? It clearly has nothing to do with JS. Its more of an HTML/CSS question. Can you post a link to vistawindow.gif or attach it?
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    Oct 2006
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by _Aerospace_Eng_ View Post
    What do you mean the coordinates are always wrong? And why did you post this in the JS forum? It clearly has nothing to do with JS. Its more of an HTML/CSS question. Can you post a link to vistawindow.gif or attach it?
    I thought it could be fixed using JS... Well I'll put up an attachment in the afternoon.

  • #4
    New Coder
    Join Date
    Oct 2006
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's ok I will find a way around this... I think I won't use image maps, I'll just break down the image and make tables.


  •  

    Posting Permissions

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