Results 1 to 15 of 15

Thread: tables help im confused

  1. #1
    Senior Member
    Join Date
    Jul 2003
    Posts
    774

    tables help im confused

    Code:
     <table><tr><td>
                        <form action="http://www.carphotoalbums.com/photos/login.php" method="post"><input tabindex="1" type="text" name="authuser" size="15" maxlength="40" value=""> 
                                    <input tabindex="2" type="password" name="password" size="15" maxlength="25"> 
                                    <input type="hidden" name="url" value="http://www.carphotoalbums.com/photos/index.php"> 
                                    <input tabindex="3" type="submit" name="submit" value="Login" style='font-size: 8pt; font-family: Verdana'>
                  <a href = "http://www.carphotoalbums.com/forums/member.php?&action=lostpw" onclick = "self.href('http://www.carphotoalbums.com/forums/member.php?&action=lostpw');"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Forgot 
                  Password?</font></a> 
    			  </form>
    			  </td></tr></table>
    why is there a huge gap around my textbox ? im totally confused can anyone know wha tim doing wrong ?

    i attached a image but it needs to be approved
    Attached Images Attached Images

  2. #2

  3. #3
    Senior Member chromate's Avatar
    Join Date
    Aug 2003
    Location
    UK
    Posts
    2,348
    use...

    style="margin: 0 0 0 0; padding: 0 0 0 0;"

    ... on your table & form elements.

  4. #4
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    That practiceboard looks like a good little tool, for looking at code posted here etc.
    Don't you just love free internet games ?

  5. #5
    Registered
    Join Date
    Nov 2003
    Posts
    67
    Maybe while you're at it, you can start using css instead of font tags.

  6. #6
    Web Monkey MarkB's Avatar
    Join Date
    Nov 2003
    Location
    London, UK
    Posts
    1,783
    Put the <form> tags outside of the <td> tags. Might not be correct HTML (or maybe it is?), but that works for me (it's what I always do).
    Stepping On Wires - the new blog

  7. #7
    Senior Member chromate's Avatar
    Join Date
    Aug 2003
    Location
    UK
    Posts
    2,348
    Well, it's not correct XHTML . I used to do exactly the same thing though, until I discovered that a little bit of CSS does the trick.

  8. #8
    Web Monkey MarkB's Avatar
    Join Date
    Nov 2003
    Location
    London, UK
    Posts
    1,783
    Pah sloppy coding never hurt anyone LOL
    Stepping On Wires - the new blog

  9. #9
    Registered Member incka's Avatar
    Join Date
    Aug 2003
    Location
    Wakefield, UK, EU
    Posts
    3,801
    It does!

    Read the XHTML part of www.w3schools.com

  10. #10
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    My template site has awful coding. I want to change it, but I don't have that much time at the moment.

    Also that's why I want to change to CSS, asap.
    Don't you just love free internet games ?

  11. #11
    Web Monkey MarkB's Avatar
    Join Date
    Nov 2003
    Location
    London, UK
    Posts
    1,783
    Ah, yous guys gots no humour
    Stepping On Wires - the new blog

  12. #12
    Registered Member incka's Avatar
    Join Date
    Aug 2003
    Location
    Wakefield, UK, EU
    Posts
    3,801
    I have. But I keep it in general chat here...

  13. #13
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    Originally posted by MarkB
    Ah, yous guys gots no humour
    LOL

    I have
    Don't you just love free internet games ?

  14. #14
    Registered GCT13's Avatar
    Join Date
    Aug 2003
    Location
    NYC
    Posts
    480
    Say I have a site I'm going to build this week. What are the short term and long term cons of not going the XHTML route? (instead using of old-school tables)
    ....

  15. #15
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    It's supposedly easier to edit if you go the XHTML route. So if you wanted to change all the link colours, you would just edit one part of a file. Same with anything else. With HTML you would have to change all the <font> tags.
    Don't you just love free internet games ?

Similar Threads

  1. confused about taxes...
    By s2kinteg916 in forum Business and Legal Issues
    Replies: 4
    Last Post: 02-28-2004, 12:18 PM

Bookmarks

Posting Permissions

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