Textarea Tag and Displaying HTML (3 posts)

  1. Mark (podz)
    Support Maven
    Posted 11 years ago #

    Could you use


  2. moisie
    Posted 11 years ago #

    textarea is an input so not remotely applicable for your usage. Why not just leave the content within the storycontent div and style that appropriately?
    You can style a div to look like a default textarea and similarly you can style a textarea to look like any other element on a page, basically you can make them look however you want. You just have to use the right element for the job semantically, as it appears to just be a styling job then a div should be fine, just add the appropriate css.

  3. mlieb
    Posted 11 years ago #

    Care to take a stab at the CSS edit? I tried but to no avail.
    Index.php -
    <div class="storycontent">
    <?php the_content(); ?>
    I looked in wp-layout.css and print.css and did not see storycontent defined.
    Would something like this do the CSS trick?
    #storycontent textarea {
    background: #fff;
    border: 1px solid #333;
    padding: .2em;
    Also, I am going to try the blockquote idea. Liked that one.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.