Results 1 to 7 of 7

Thread: How can I be like DD?

  1. #1
    Join Date
    Sep 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How can I be like DD?

    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.

  2. #2
    Join Date
    Sep 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    bump. Please, I really want to know how to do this so I can sleep peacefully. lol

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Sep 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  6. #6
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Softworks
    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

  7. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    <textarea cols="54" rows="8">stuff</textarea>
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •