using this code |
![]() ![]() |
using this code |
Sep 3 2008, 10:17 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 144 Joined: Aug 2006 Member No: 459,714 |
by using this code to protect pictures
CODE <div style="width:100px; height:100px; background-image:url();"> <img src="http://x.myspace.com/images/clear.gif" style="width:100px; height:100px;" /> </div> i know how to center it and align left but is there a way to align right? |
|
|
|
Sep 3 2008, 11:26 PM
Post
#2
|
|
![]() Two can keep a secret if one of them is dead. ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 2,682 Joined: Jun 2005 Member No: 156,187 |
CODE <div align="right" style="width:100px; height:100px; background-image:url();"> <img src="http://x.myspace.com/images/clear.gif" style="width:100px; height:100px;" /> </div> doubt it will work but try it out. i know that align="center" works not sure on left or right. |
|
|
|
Sep 4 2008, 06:28 AM
Post
#3
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
You can also try this:
CODE <div style="width:100px; height:100px; background-image:url(); float:right;"> <img src="http://x.myspace.com/images/clear.gif" style="width:100px; height:100px;" /> </div> It's the DIV you want to move, though, right? Because if it's the image, then just add align="right" inside the <img> tag. |
|
|
|
![]() ![]() |