www.webdeveloper.com
Results 1 to 3 of 3

Thread: put a background image in the bottom right corner

  1. #1
    Join Date
    Jan 2007
    Posts
    9

    put a background image in the bottom right corner

    Hi to all, Iīm trying to put an image background but just in the bottom right corner, I donīt want that the images "spread in all window", here is my sintax:

    <body background="../imagen/logosmall.jpg" > what tag do I have to use for the image is "valign="bottom right" and doesnīt "spread to all window"

    thanks a lot

  2. #2
    Join Date
    Nov 2002
    Posts
    4,473
    Code:
    <html>
     <head>
      <style type="text/css">
    BODY {
      background-image: url("../imagen/logosmall.jpg");
      background-attachment: fixed;
      background-repeat: no-repeat;
      background-position: bottom right;
    }
      </style>
     </head>
     <body>
     </body>
    </html>

  3. #3
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Code:
    <style type="text/css"> 
    body {background:#9cf url(../imagen/logosmall.jpg) no-repeat right bottom;}
    </style>
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles