What are these called and can we have them here at WordPress?

  • Author
    Posts
  • #125735

    nosysnoop
    Member

    What are these boxes called that holds codes together:

    I’ve started to make MySpace layouts and was thinking of placing the codes on a page on my blog to share with everyone but don’t know if those boxes are html or javascript. Thanks!

    #126115

    atthe404
    Member

    Those are called lol scroll bars./ They appear automatically generally.

    #126146

    options
    Member

    if I get it correctly, ‘these boxes that holds codes together’ are called a ‘textarea’, though probably Nosy was asking about scrollbars and forms get styled.

    #126156

    atthe404
    Member

    Try this. Put this around the post content in question:

    <pre><code>
    All your stuff in here
    </pre></code>

    HTH. :)

    #126158

    it’s a preformated element. engtech has ’em

    switch to the code tab of the post editor, and insert pre tags, as root suggests.

    DO NOT, as root suggests, use code tags. especially don’t nest them improperly, the way root does :P

    styling them to have scrollbars requires the custom CSS upgrade.

    #126175

    nosysnoop
    Member

    Thank guys! I thought it could be shortened in a box instead of the entire long code showing but I still have to post the entire code though.

    #126189

    atthe404
    Member

    Well Root only copied the nested CSS from the item demonstrated. He wouldn’t have done it himself. :)
    @nosysnoop: You could set a fixed height for the container in the CSS. That would do it.

    #126228

    nosysnoop
    Member

    I made three MySpace layouts and submitted them to this MySpace layout site and waiting for them to be approved. I might post them as a post and then use the More tag so all that code won’t show unless you click to see it. And possibly post a thumbnail of the finished product of what it looks like on your MySpace. Or maybe set up a Page and put it all there.

    #126229

    atthe404
    Member

    I hope sbk and myself are going to get proper *credits* :)

The topic ‘What are these called and can we have them here at WordPress?’ is closed to new replies.