www.webdeveloper.com
Results 1 to 3 of 3

Thread: background image position??

  1. #1
    Join Date
    May 2005
    Posts
    63

    Angry background image position (top-right)??

    Hi does anyone know how I can have my background image placed at the top-right hand corner of my page.

    I tried each of the following:

    background-repeat:no-repeat;
    background-position:right; ------>this placed it middle-right
    background-position:top; ------>this placed it top-left

    There doesn't seem to be something like:
    background-position:top-right;

    Please help
    Last edited by Seboko; 11-18-2005 at 01:35 AM.

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    background:url(image.gif) top right no-repeat;
    http://www.w3schools.com/css/css_background.asp
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    May 2005
    Posts
    63
    Thanks

    background:url(image.gif) top right no-repeat;



    works like a charm!!!

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