Log In · Register

 
 
Closed TopicStart new topic
Wrapping text around an image
EnglishMatthew
post Jan 5 2009, 02:19 PM
Post #1


Newbie
*

Group: Member
Posts: 6
Joined: Jan 2009
Member No: 707,519



I'm not quite sure how to do this one, i need a code that will wrap text around an image.

I'm using MySpace 2.0

Any help would be great,

Thanks :)

- EnglishMatthew

 
Mickey
post Jan 5 2009, 04:49 PM
Post #2


Treasure Pleasure
********

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



Put this in your CSS:

CODE
.right {float:right;}
.left {float:left;}

Use one of those classes according to where you want to align your image. For example, if you want it on the right, use a code like this:

CODE
<img src="URL" class="right"> Insert your text here.

If you want it on the left, replace class="right" with class="left". That should do it.
 
mauriciocruelty
post Jan 7 2009, 08:13 PM
Post #3


Senior Member
****

Group: Member
Posts: 126
Joined: Dec 2007
Member No: 601,987



You can go to freecodesource.com & go to generators & look for "wrapping text around image" it helps alot since all you have to do is upload the picture there, & write & you'll see a preview of how it comes out while you're doing it! :)
 
IVIike
post Jan 7 2009, 09:52 PM
Post #4


Hey, I'm Mike
********

Group: Staff Alumni
Posts: 10,020
Joined: May 2006
Member No: 406,241



CODE
<img src="imageurlhere" align="left" />Text text text text


make sure the first word is touching the code. you can change left to right or center it doesn't matter. _smile.gif
 
Mickey
post Jan 8 2009, 04:46 AM
Post #5


Treasure Pleasure
********

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



Mauricio and Mike, those don't work for 2.0 profiles anymore.
 
mauriciocruelty
post Jan 8 2009, 05:28 PM
Post #6


Senior Member
****

Group: Member
Posts: 126
Joined: Dec 2007
Member No: 601,987



are you sure? i'm sure the site I gave you updated the codes with 2.0
if not instead of going to generators go to codes & look for it there :)
i'm sorry if it isn't much help
 
Mickey
post Jan 8 2009, 05:32 PM
Post #7


Treasure Pleasure
********

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



I've tried it and it doesn't work. It explains why here.
 
mauriciocruelty
post Jan 8 2009, 05:38 PM
Post #8


Senior Member
****

Group: Member
Posts: 126
Joined: Dec 2007
Member No: 601,987



QUOTE(Mike @ Jan 8 2009, 06:32 PM) *
I've tried it and it doesn't work. It explains why here.


ohhh damnn.. well why don't you use that one? blink.gif
 
Cyanide-
post Jan 8 2009, 05:39 PM
Post #9


poison
*******

Group: Official Member
Posts: 5,079
Joined: Mar 2008
Member No: 629,020



CODE
<img src="rainbow.gif"
align="left">

CODE
<img src="rainbow.gif"
align="right">
 
Mickey
post Jan 9 2009, 06:07 AM
Post #10


Treasure Pleasure
********

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



^Like I told Mike who posted just about the same code, that doesn't work for 2.0 pages.
 
smallazn4eva
post Jan 14 2009, 01:27 AM
Post #11


Newbie
*

Group: Member
Posts: 2
Joined: Oct 2005
Member No: 275,818



QUOTE(mauriciocruelty @ Jan 8 2009, 05:38 PM) *
ohhh damnn.. well why don't you use that one? blink.gif


i have been trying to look for the word wrap around the text too and i cant seem to find it , i've tried that code too and it shows the text but it wont show the image , can somebody please help ?!
 
Mickey
post Jan 14 2009, 03:47 AM
Post #12


Treasure Pleasure
********

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



^What code do you use to put up an image?
 
Emmi237
post Jan 14 2009, 03:25 PM
Post #13


Member
**

Group: Member
Posts: 22
Joined: Nov 2006
Member No: 483,287



Hmm you could possibly use a table with hidden borders to get your text to wrap around the picture..

for example:

CODE
<table border=0>
<tr><td colspan=2>Text text text text text</td></tr>
<tr><td><img src="image.jpg"></td><td>text text text</td></tr>
<tr><td colspan=2>Text text text text text</td></tr>
</table>


bit fiddly perhaps but does the job...
 
Mickey
post Jan 14 2009, 04:18 PM
Post #14


Treasure Pleasure
********

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



^I'm not sure if tables work for 2.0 profiles, but I guess you can give that a go.

Also, when you guys post codes for people to try out, remember to post a full URL of a sample image or just "URL" by itself instead of "rainbow.gif" or "image.jpg". It might make some people think that's the way to do it.
 
Mikeplyts
post Jan 14 2009, 04:29 PM
Post #15


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 7,169
Joined: Aug 2008
Member No: 676,291



Wait would the below work?
CODE
<img src="URL" style="float: left;"> Text Text Text
 
Mickey
post Jan 14 2009, 04:34 PM
Post #16


Treasure Pleasure
********

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



^Yes, that would work.
 
tokyo-rose
post Jul 16 2009, 05:28 PM
Post #17


♡♡♡♡♡
********

Group: Head Staff
Posts: 22,724
Joined: Mar 2005
Member No: 108,478



Topic Closed, and Moved to Myspace Resolved Topics. Please PM a moderator if you would like this reopened.
 

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