Log In · Register

 
Css Help, Positioning Image in Bottom-Right browser corner
LolitaDoll
post Jul 8 2007, 04:37 AM
Post #1


Senior Member
***

Group: Member
Posts: 41
Joined: May 2007
Member No: 524,468



Hi,

I wantr to position one of my images used in my layout to the bottom-right corner of a browser window. How would i go about doing this? I tried setting it to a certain pixel position but in windescreen windows (like my dad's laptop) it isn't in the bottom corner. Is there a specific code or something to do this?

Thanks in advance,

LD
 
 
Start new topic
Replies
queen
post Jul 8 2007, 04:48 AM
Post #2


‹(. .)›
******

Group: Official Member
Posts: 2,367
Joined: Jun 2004
Member No: 20,089



put this in your css:
CODE
body {
background-color: #000000;
background-image: url("url_of_image");
background-attachment: fixed;
background-repeat: no-repeat;
background-position: bottom right;
}


...replace the background color and url of image accordingly.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: