Log in

View Full Version : How can I be like DD?



Softworks
09-16-2006, 06:19 AM
Okay, I have a quick, simple question I hope one of you can answer. On my band's site [ http://www.myspace.com/anewmourning ] I'm trying to make it where a person can sopy the code from a box to place a banner on their page. On this very site, they have boxes with codes in them, but it doesn't show the actual ending effect. If you look on my page, you can kind of tell what I'm trying to do. Please help. Thanks.

Softworks
09-16-2006, 06:51 AM
bump. Please, I really want to know how to do this so I can sleep peacefully. lol

djr33
09-16-2006, 07:40 AM
Might be myspace doing something weird to the code, but here's what I'd put:
<textarea><img src="http://i95.photobucket.com/albums/l153/anewmourning/banner.gif"></textarea>

Note that if that doesn't work, it's likely myspace blocking it for some strange reason, so you should use:
&gt; or &lt; for > and < respectively.

&...; is the html way for displaying a character that would otherwise act as code, like &amp; is for an &.
gt = greater than, and lt is less than.

Twey
09-16-2006, 12:08 PM
Note that if that doesn't work, it's likely myspace blocking it for some strange reason, so you should use:
&gt; or &lt; for > and < respectively.You should be using &lt; and &gt; to represent < and > anyway. The only place < or > can validly appear in HTML code (except as a tag delimiter, obviously) is inside a CDATA block.

Softworks
09-16-2006, 03:10 PM
Thanks a million. Yes, that helped it show the code, but now it's in a really small box. Any way to make the box just a bit bigger? Once again, thanks for all your help so far.

mwinter
09-17-2006, 07:51 PM
Any way to make the box just a bit bigger?

The textarea element requires both cols and rows attributes, and both of these affect the dimensions of the element. You can also use CSS to affect the size.

Mike

djr33
09-18-2006, 06:07 AM
<textarea cols="54" rows="8">stuff</textarea>