Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2005
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Repeated Background

    Hi I have coded my layout but I cant seem to get the background right

    I want it to be on the right (top) side of the screen but instead it is repeated

    CSS:
    body {
    margin, padding: 0em;
    background-color:#000;
    background-image: url(http://img281.imageshack.us/img281/2...ogimage4pz.png) no-repeat;


    HTML:
    <body background="http://img281.imageshack.us/img281/2060/jamiesblogimage4pz.png"><!--Open body-->


    What have I done wrong for it to be repeated and how do I get it on the right (top) on the screen?
    Last edited by Omen; 10-16-2005 at 09:10 PM. Reason: Because the title was missing "d"

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Lose the background in the body tag, and try this for the CSS
    Code:
    body {
    padding:0;
    margin:0;
    background:#000 url(http://img281.imageshack.us/img281/2060/jamiesblogimage4pz.png) top right no-repeat;
    }
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    Aug 2005
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks


  •  

    Posting Permissions

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