SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: z-index problem

  1. #1
    SitePoint Addict
    Join Date
    Aug 2004
    Location
    canada
    Posts
    331
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    z-index problem

    I have this cloverleaf in the background and I cannot get it the correct position in the content area. The header is fine.

    http://4leroujlu7.thelostmenu.com/

  2. #2
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    You have an error in your syntax. You used a colon at the end of position:relative on your .container rules.

    Code:
    .container
    {
    width:890px;
    margin:0 auto;
    position:relative:<----
    z-index: 3;
    }
    You need to use a semicolon instead.
    Code:
    .container{
    width:890px;
    margin:0 auto;
    position:relative;
    z-index: 3;
    }

  3. #3
    SitePoint Addict
    Join Date
    Aug 2004
    Location
    canada
    Posts
    331
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thanks. I increased my browser font size and a whole new world opened up.


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
  •