Your Ad Here Your Ad Here
Results 1 to 7 of 7

Thread: HTML Help

  1. #1
    How do you create a space between a word and a text box, or list box or radio button so i can align it all up. Also i have this assignment to do and could someone explain this to me.

    Your page should follow the following specifications:

    A form where people will be able to enter their personal details. This should include all types of input seen in the lecture (text, password, radio buttons, checkboxes, textarea, and both select types) used appropriately.
    A table with several cells and rows with background colors to format the above form

    I know the bit about this form creating part but i don't understand this:

    A table with several cells and rows with background colors to format the above form. How do i do this. BTW i am using notepad.


  2. Internet, Programming and Graphics   -   #2
    Use a number of non-breaking spaces:
    Alternatively just use tables to lay it out properly. Declare a table like this:
    <table width="90%"  border="0" cellspacing="5" cellpadding="0">
    <td>some text</td>
    <td>more text</td>
    Where <td> stands for a table's column contents and <tr> stands for rows. You can fiddle around with the variables in the table declaration, for example removing the % sign for the width variable sets the width in pixels.
    Last edited by Rick Phlegm; 03-11-2005 at 01:51 AM.

  3. Internet, Programming and Graphics   -   #3
    cheers for that

  4. Internet, Programming and Graphics   -   #4
    tesco's Avatar woowoo
    Join Date
    Aug 2003
    in each <td> OR <tr> OR <table> you can add background="#whatever" to add a background...i think.
    I normally do things through css, have you learnt that stuff yet?

  5. Internet, Programming and Graphics   -   #5
    lol we have just started we are currently learning images + forms etc

  6. Internet, Programming and Graphics   -   #6
    sparsely's Avatar
    Join Date
    Dec 2002
    static hum
    non nonono non no bnon onooooooooooooooooo
    learn to make use of the <label> tag also

    all you need is
    HTML Code:
    <div class="form">
    <p><label for="username">Username:</label><input type="text" name="username" id="username" class="text" /></p>
    then your css could look something like this:
    label { cursor:pointer; padding-right:5px; }
    input.text { text-indent:7px;  vertical-align:middle; }
    or something similar.
    much easier, less code than a table.

    this post is guaranteed 100% parrot-free

  7. Internet, Programming and Graphics   -   #7
    lol that looks compilcated remember i just started learning html


Posting Permissions

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