Log In · Register

 
 
Closed TopicStart new topic
using this code
lala09
post 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?
 
Blaqheartedstar
post 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.
 
Mickey
post 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.
 

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