SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2007
    Posts
    97
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Building the menu over a jpeg

    I'm trying to build 4 menu selections over a menu but even with z-index, the position relative doesn't seem to work and position z-index: absolute slides about when the window is resized.

    Can anyone spot my logic error?

    #menu1 {
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:30px;
    color:#65665c;
    position:relative;
    display:block;
    z-index:99;
    top: -185px;
    left: 60px;
    }

    #menu2 {
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:30px;
    color:#65665c;
    position:relative;
    z-index:99;
    left: 328px;
    }

    Thanks

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,599
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, it depends on the menu z-index (I assume the CSS you posted was part of the menu selections and not part of the actual menu)

    There are many factors to weigh in and all would be guesses unless we have full HTML/CSS to look at (or a much more preferable option-a link )
    Always looking for web design/development work. Willing to do it cheap to build portfolio!


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
  •