Image sliding |
Image sliding |
Miggi03 |
Mar 18 2010, 05:43 AM
Post
#1
|
Group: Members Posts: 5 Joined: 3-February 10 Member No.: 10,998 |
Hello all.
I am trying to make an image slide within a table depending on browser resizing. I am trying to make the image "stick" to the right side of the window and slide to the left. I am sorry for the terrible explination but I am very new to this. I have placed a basic picture here if you would be kind enough to look. Any help is much appreciated. This post has been edited by Miggi03: Mar 18 2010, 05:45 AM |
pandy |
Mar 18 2010, 06:31 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Do you mean that the image should grow as the table grows, that you should see more and more of it?
I assume this is a background image, so position it to the right. http://htmlhelp.com/reference/css/color-ba...d-position.html |
Miggi03 |
Mar 18 2010, 09:50 AM
Post
#3
|
Group: Members Posts: 5 Joined: 3-February 10 Member No.: 10,998 |
Thank you so much. Thats exactly it. I applied the following to the inline css
.style3 { white-space: normal; background-image: url('BGNOTXT.png'); background-position:right } and it worked like a charm. Kind regards. |
pandy |
Mar 18 2010, 11:11 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
You are welcome. You can remove the 'white-space: normal;' though and save some bytes since that's the dafault anyway.
|
Lo-Fi Version | Time is now: 25th April 2024 - 08:27 PM |