HTML Guruz.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • FuqALot
    Confirmed User
    • Dec 2001
    • 3817

    #1

    HTML Guruz.

    Hi lets say there is a table.

    <table width="100%">
    <tr>
    <td>Welcome</td>
    </tr>
    </table>

    Now the height of it differs.

    On the bottom of that table i want some text.
    How do you do that.
    Something like <div valign="bottom">Text</div>.
    So that the text will appear on the bottom of the table.

    You could use a row of <br> but the height differs.

    Thnx alot!
  • Roald
    SecretFriends.com
    • May 2001
    • 27910

    #2
    add valign="bottom" in the TD tag


    WE ARE BUYING PAY SITES! CONTACT ME



    ClubSweethearts | ManUpFilms | SinfulXXX | HOT * AdultPrime * HOT


    Paying webmasters since 1996! Contact: r.riepen @ sansylgroup.com | telegram: roaldr

    Comment

    • FuqALot
      Confirmed User
      • Dec 2001
      • 3817

      #3
      Thanks, that'll do but i need text in the same TD on top aswell.

      There is basically one table, with two TD's.
      The left TD will set the height (there's some stuff in it),
      but in the right TD there's not so many stuff, just a few lines of text.

      So those few lines on the right TD need to stay on top,
      but I also need a line on the bottom in that right TD.

      Thnx :P.

      Comment

      • MattO
        The O is for Oohhh
        • Feb 2003
        • 10861

        #4
        just add another row with a colspan=2

        Comment

        • FuqALot
          Confirmed User
          • Dec 2001
          • 3817

          #5
          Yeah but I guess that row will then be placed under everything, so that text will also appear under anything of the left TD, while it should be next to the most bottom line of the left TD. Lol... :P.

          Comment

          • chodadog
            Confirmed User
            • Apr 2002
            • 9736

            #6
            Not entirely sure what you want. But you want the text to be at the very bottom of the table, without a gap?

            Easiest way to do it would be to create a new row and set the cellpadding value of the table to 0. Just added the line breaks to show what happens.

            &lt;table cellpadding="0" width="100%" border="1"><br>
            &lt;tr><br>
            &lt;td>Welcome&lt;BR>&lt;BR>&lt;/td><br>
            &lt;/tr><br>
            <br>
            &lt;tr><br>
            &lt;td valign="bottom">Bottom&lt;BR>&lt;/td><br>
            &lt;/tr><br>
            &lt;/table>

            <table cellpadding="0" width="100%" border="1">
            <tr>
            <td>Welcome<BR><BR></td>
            </tr>

            <tr>
            <td valign="bottom"><BR><BR>Bottom<BR></td>
            </tr>
            </table>

            I think that's what you wanted. You were rather vague, though.
            26 + 6 = 1

            Comment

            • Dynamix
              G F Y not
              • Jan 2004
              • 2910

              #7
              PHP Code:
              <HTML>
              <TABLE BORDER=3><TR><TD ROWSPAN=2>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              </TD><TD VALIGN=TOP>Spacer</TD></TR>
              <TR><TD VALIGN=BOTTOM>Blah</TD></TR></TABLE>
              </HTML> 
              
              <CENTER>
              <TABLE BORDER=3 WIDTH=80%><TR><TD ROWSPAN=2>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              Spacer<BR>
              </TD><TD VALIGN=TOP>Spacer</TD></TR>
              <TR><TD VALIGN=BOTTOM>Blah</TD></TR></TABLE>
              </CENTER>

              TGPFactory Full TGP Design & Installation Services
              ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
              See who I am at AdultWhosWho.com!

              Comment

              • FuqALot
                Confirmed User
                • Dec 2001
                • 3817

                #8
                Wow! Thanks guys, that's just excellent.
                Indeed Chodadog, that was the idea.
                Dynamix did it just the way i wanted. Awesome!

                Comment

                • Dynamix
                  G F Y not
                  • Jan 2004
                  • 2910

                  #9
                  Originally posted by FuqALot
                  Wow! Thanks guys, that's just excellent.
                  Indeed Chodadog, that was the idea.
                  Dynamix did it just the way i wanted. Awesome!
                  glad I could help

                  TGPFactory Full TGP Design & Installation Services
                  ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
                  See who I am at AdultWhosWho.com!

                  Comment

                  Working...