Results 1 to 1 of 1

Thread: CSS image maps

  1. #1
    Join Date
    Jul 2005
    Posts
    223
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default CSS image maps

    I followed this tutorial

    http://css.flepstudio.org/en/css-tut...ap-in-css.html

    here on my page

    http://japantown.awardspace.com/divdesign.shtml

    but as you can see, nothing is linked on the header on my page.

    what did i do wrong?

    html
    Code:
    <div id="header">
    <a href="http://japantown.awardspace.com/" id="home"></a>
    <a href="#default" id="main" class="menu"></a>
    <a href="#default" id="forum" class="menu"></a>
    <a href="#default" id="language" class="menu"></a>
    <a href="#default" id="culture" class="menu"></a>
    <a href="#default" id="omake" class="menu"></a>
    </div>
    css
    Code:
    #header {
    background-image: url('header.gif');
    background-repeat: no-repeat;
    height: 150px;
    width: 900px;
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 0px;
    margin-bottom: 0px;
    position: relative;
    }
    #imagemap a {
    display: block;
    position: absolute;
    }
    #imagemap a.menu {
    height: 25px;
    width: 173px;
    top:  79px;
    }
    #imagemap a#home {
    height: 71px;
    width: 871px;
    top: 7px;
    left: 7px;
    }
    #imagemap a#main {
    left: 8px;
    }
    #imagemap a#forum {
    left: 182px;
    }
    #imagemap a#language {
    left: 356px;
    }
    #imagemap a#culture {
    left: 530px;
    }
    #imagemap a#omake {
    left: 704px;
    }
    dang i wish there was a delete thread option, haha

    replace "imagemap" with "header"
    Last edited by Johnnymushio; 03-28-2011 at 01:28 AM.
    My Web Site
    Japan Town

Bookmarks

Posting Permissions

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