Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Nov 2010
    Location
    Scotland
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts

    text edit panel with include file

    I have a text edit panel on a page which must have a .txt include file that can be edited by the user. It seems to work apart from some limitations on how many characters you can edit at a time (thats in IE) in Firefox there are little boxes showing aound the cursor, there is something going on which I don't understand, can anyone help?

    <div id="TextEdit" class="editable" contenteditable="true" UNSELECTABLE="ON">
    <?php include("select.txt"); ?>
    </div>


    .editable {
    white-spacere-line;
    width:500px;
    height:600px;
    overflow:scroll;
    overflow-x:hidden;
    }


    see what I mean here
    https://docs.google.com/leaf?id=0B5c...1ZDhh&hl=en_GB

  • #2
    New Coder
    Join Date
    Nov 2010
    Location
    Scotland
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Figured it out the include file had table tr td etc

    changed that for <p></p>

    and the problem was gone


  •  

    Posting Permissions

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