Thursday, December 24, 2009

Html Code question? Myspace?

I just added a code on myspace for the top 8 generator and i was trying to put text and pictures below the code and my picture is on the right it will not move to the left even though i already placed an alignment code and my text goes on top of the other straight down instead of across. i tried adding ending tags like %26lt;/tr%26gt;%26lt;/style%26gt;%26lt;br%26gt;%26lt;p%26gt;



but it doesn't seem to fix it what am i doing wrong?



Html Code question? Myspace?

In the image tag add:



style="float: left"



That will force it to float to the left, and will move everything else out of the way for it. align="left" is overwritten if the style sheet has a float: right; in it. So, even if you put align="left", that deprecated code might be being overwritten by a stylesheet. That inline style will overwrite the external style sheet.



so, you'll have %26lt;img src="somefile.jpg" style="float:left;" /%26gt; and that will do the trick.

No comments:

Post a Comment

 
pda