41 users online (0 members and 41 guests)  


  Results 1 to 10 of 10

Related

  1. some php questions    Forum: PHP Forum
    Replies: 1
  2. 3 questions    Forum: CGI Perl Forum
    Replies: 2
  3. questions    Forum: Graphics Forum
    Replies: 17
  4. asp questions    Forum: ASP Forum
    Replies: 26
  5. questions    Forum: HTML Forum
    Replies: 2
  1. #1
    DaWebmasta's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Jul 2004
    Posts
    83

    Text Box Questions

    ---Hello

    ---I Was Wondering If There Is A Way I Could Insert A Text
    ---Box In A Table

    ---I Was Also Wondering If There Is A Code For A Text Box
    ---That Has Scroll Bars On Both Sides Of It

    ---Thanx

  2. #2
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732
    Hi there DaWebmasta,
    ' I was wondering if there is a way I could insert a text box in a table '
    Code:
    <style type="text/css">
    <!--
    table {
          border:solid 1px #000000;
     }
    td {
          border:solid 1px #000000;
     }
    textarea {
         width:324px;
         height:200px;
         font-family:courier;
         font-size:18px;
         color:#ffffff;
         background:#000060;
     }
    //-->
    </style>
    
    <table><tr>
    <td><textarea>
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
    Praesent blandit venenatis purus. Integer massa libero, 
    vehicula id, consequat sed, tincidunt nec, purus. Class 
    aptent taciti sociosqu ad litora torquent per conubia nostra, 
    per inceptos hymenaeos. Suspendisse potenti. Nunc 
    vulputate magna non magna. Aenean lorem eros, adipiscing 
    quis, semper non, dictum a, nunc. Curabitur ut sem. 
    Pellentesque a est id neque hendrerit ultrices. Donec 
    vulputate tincidunt turpis. Curabitur dignissim vestibulum nunc. 
    Aliquam felis lorem, ultrices sit amet, convallis a, accumsan 
    vel, ante. Proin aliquam turpis sed augue. In pellentesque, 
    magna a pulvinar adipiscing, est orci adipiscing felis, sed 
    laoreet urna magna quis neque. Proin facilisis aliquet urna.
    </textarea></td>
    </tr></table>
    
    ' I was also wondering if there is a code for a text box that has scroll bars on both sides of it '
    No, either one or the other


    coothead

  3. #3
    DaWebmasta's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Jul 2004
    Posts
    83
    ---Thanx coothead For The Reply The Code Works Great

    ---DaWebmasta

  4. #4
    deadfinger04's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Aug 2004
    Posts
    39
    http://htmlgoodies.com/tutors/forms.html heres a good tutorial on that stuff also, thats where i learned that stuff myself. gl man

  5. #5
    roc's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2004
    Posts
    8

    is there a way

    is there a way to use this textarea and disable the public from typing or removing the words in the box?

  6. #6
    roc's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2004
    Posts
    8
    Also is there a way to change the font?

  7. #7
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732
    Hi there roc,

    and a warm welcome to these forums
    is there a way to use this textarea and disable the public from typing or removing the words in the box?
    Yes, like this...
    Code:
    <textarea readonly="readonly">
    Also is there a way to change the font?
    These are the rules that set the font-family, font-size and color...
    Code:
    textarea {
         width:324px;
         height:200px;
         font-family:courier;
         font-size:18px;
         color:#ffffff;
         background:#000060;
     }

    coothead

  8. #8
    roc's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2004
    Posts
    8

    Thumbs up

    Thanks that was quite helpful
    Thanks for the welcome too
    You all rock

  9. #9
    damnyoureyes's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2005
    Posts
    1

    background

    can you put a background image in the textbox??

  10. #10
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732
    Hi there damnyoureyes,
    can you put a background image in the textbox??
    Yes, like this...
    Code:
    <form action="#">
    <div>
    <input type="text" style="background:url('your_image.jpg');"/>
    </div>
    </form>
    coothead



Tags for this Thread