Log In · Register

 
wrap text around image in 2.0
xbabyfacex
post Dec 8 2008, 10:18 PM
Post #1


Senior Member
***

Group: Member
Posts: 35
Joined: Feb 2008
Member No: 619,200



is there a code to get wrap around text for myspace 2.0. i tried to old code and it doesn't work. is there anyway to get it to work?
 
 
Start new topic
Replies (1 - 7)
Mickey
post Dec 9 2008, 02:54 PM
Post #2


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Do you mean like aligning text? If so, just create a class and set the text-align for it like this:

CODE
.justifytext {text-align:justify;}

Put that in your CSS section then use that class when you want to align any text like this:

CODE
<p class="justifytext">Blah blah blah.</p>

If that's not what you mean, do you mind clarifying your question?
 
xbabyfacex
post Dec 9 2008, 11:46 PM
Post #3


Senior Member
***

Group: Member
Posts: 35
Joined: Feb 2008
Member No: 619,200



something like this
http://www.createblog.com/scripts/script.php?id=1330

is what i meant.
 
Mickey
post Dec 10 2008, 12:04 PM
Post #4


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



You want to align the image, not the text. Just add the align attribute to your image code like this:

CODE
<img src="URL" align="left"> YOUR TEXT HERE.

See if that works.
 
xbabyfacex
post Dec 10 2008, 04:00 PM
Post #5


Senior Member
***

Group: Member
Posts: 35
Joined: Feb 2008
Member No: 619,200



nope. it still didnt work. :[
 
Mickey
post Dec 11 2008, 12:40 PM
Post #6


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Okay, put this in your CSS section:

CODE
.right {float:right;}

Change right to left if you want. Then, use that class to align images like this:

CODE
<img src="URL" class="right"> Insert your text here.
 
xbabyfacex
post Dec 11 2008, 08:55 PM
Post #7


Senior Member
***

Group: Member
Posts: 35
Joined: Feb 2008
Member No: 619,200



thanks. it worked!!
 
manny-the-dino
post Dec 12 2008, 12:14 AM
Post #8


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



Topic Closed & Moved
 

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