Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problem adding full background

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31961
    nehal13
    Member

    I’m trying to get my webpage to have a full background from this tutorial. But the image covers the content. When I tried the index-z:-1 the image goes to the bg but I lose all linking and functionality. I am not a html/css ninja but here is the code I’ve been working on:-






    Circus




































    @charset "UTF-8";
    /* CSS Document */


    body {
    background-color:#F7F7F7;

    }

    #bg {
    position:fixed;
    top:-50%;
    left:-50%;
    width:200%;
    height:200%;
    }
    #bg img {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin:auto;
    min-width:50%;
    min-height:50%;

    }

    .links td a {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: small;
    color:#999;
    font-style: normal;
    font-weight: normal;
    font-variant: small-caps;
    text-transform: none;
    text-decoration: none;
    }

    .links td a:hover {
    color:#333;
    }

    .td links {
    align:center;
    }
    #55819
    soap
    Participant

    Hey can you link your site?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.