Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

CSS background in a div issue

Options
  • 22-06-2006 1:58pm
    #1
    Registered Users Posts: 3,514 ✭✭✭


    For some reason the background image is not appearing on the webpage. I have my html setup simply as:
    [HTML]
    <link href="images/layout.css" rel="stylesheet" type="text/css">
    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <div align="center">
    </div>
    <div id="Layer1"></div>[/HTML]

    and my css is:
    body {
    background-color: #FFFFFF;
    background-image: url(background.gif);
    background-repeat: repeat-x;
    }

    layer1 {
    position: absolute; left: 45px; top: 0px; width: 53px; height: 39px; z-index: 1;
    background-image: url(blue_layout_imgready_01.gif);

    }

    The backround.gif get's displayed but the blue_layout_imgready_01.gif is no where to be seen. Any ideas?


Comments

  • Registered Users Posts: 3,594 ✭✭✭forbairt


    #Layer1

    its an id also watch the case ? ... :) maybe its just a typo on your part


  • Registered Users Posts: 3,514 ✭✭✭Rollo Tamasi


    afff! my eyes won't work no more. Thanks error9


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    no worries :)

    I've already been there today staring at something for 20 minutes going wtf wtf :)


Advertisement