Announcement

Collapse
No announcement yet.

HTML problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTML problem

    Hi,

    Just wondered if there is an explanation for a small problem I'm having. When posting HTML code, a very large area of space appears below the subject, making the thread look empty. Users have to scroll down to see the actual content.

    For an example, visit http://www.bluehawaai.com/vB/showthr...=&threadid=272

    The actual html is :

    <body bgcolor="#C0C0C0" text="#000000" link="#0000FF" vlink="#600042"><CENTER>
    <div align="center">
    <table border="3" cellpadding="0" cellspacing="0" width="90%" height="972" bordercolor="#008080" bordercolorlight="#FFFFFF" bordercolordark="#008080">
    <tr>
    <td width="103%" valign="top" height="23" align="center" colspan="2"><H1><font color="#0000FF" face="Verdana" size="5">the UK Pub Quiz</font><font color="#FF0000" face="Verdana" size="5">
    #3</font></H1><p><font face="Verdana" size="1">(c)2001 the UK Pub...but feel free to use the questions.</font></p><font face="Verdana" size="1">Answers are included. Congrats go to this weeks winner....<b>Krizzie</b>!! Thats 3 different winners in 3 weeks!! Due to time differences etc, we are gonna post the quiz on a Saturday for a trial period. Okies?</font></td>
    </tr>
    <tr>
    <td width="83%" valign="middle" height="23"><font face="Verdana" size="1">&nbsp;1. Name the largest island in the world.</font></td>
    <td width="20%" align="right" height="23"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Greenland</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="23"><font face="Verdana" size="1">&nbsp;2. What color does the bride wear in China?</font></td>
    <td width="20%" align="right" height="23"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Red</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="23"><font face="Verdana" size="1">&nbsp;3. A coral island consisting of a ring of rock enclosing a central lagoon is a?</font></td>
    <td width="20%" align="right" height="23"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Atoll</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="36"><font face="Verdana" size="1">&nbsp;4. Lady Helen, daughter of the Duke and Duchess of Kent, named her son after which
    famous explorer?</font></td>
    <td width="20%" align="right" height="36"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Columbus</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="36"><font face="Verdana" size="1">&nbsp;5. Which singer was launched into 'The Big Time' by Esther Rantzen?</font></td>
    <td width="20%" align="right" height="36"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Sheena Easton</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="23"><font face="Verdana" size="1">&nbsp;6. Which country's form of Buddhism is called Zen?</font></td>
    <td width="20%" align="right" height="23"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Japan</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="36"><font face="Verdana" size="1">&nbsp;7. Which did Gagarin land on that the U S couldn't land on until the advent of the Space Shuttle?</font></td>
    <td width="20%" align="right" height="36"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Land</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="36"><font face="Verdana" size="1">&nbsp;8. What word describing a character from an ancient alphabet is also Bjorn Borg's middle name?</font></td>
    <td width="20%" align="right" height="36"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Rune</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="23"><font face="Verdana" size="1">&nbsp;9. Is it possible for a swimmer to drown in the Dead Sea?</font></td>
    <td width="20%" align="right" height="23"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Yes</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="23"><font face="Verdana" size="1">10. Which royal residence is in Norfolk?</font></td>
    <td width="20%" align="right" height="23"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Sandringham House</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="23">
    <font face="Verdana" size="1">11. Which group founded the Bludgeon Riffola label?</font></td>
    <td width="20%" align="right" height="23"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Def Leppard</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="36"><font face="Verdana" size="1">12. Whose long-jump record in the 1968 Olympics lasted for 24 years?</font></td>
    <td width="20%" align="right" height="36"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Bob Beamon's</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="23"><font face="Verdana" size="1">13. Which British skater won gold in 1980?</font></td>
    <td width="20%" align="right" height="23"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Robin Cousins</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="23"><font face="Verdana" size="1">14. Who is the Queen's second eldest grandchild?</font></td>
    <td width="20%" align="right" height="23"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Zara Phillips</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="23"><font face="Verdana" size="1">15. In which city did Karl Marx write 'Das Kapital'?</font></td>
    <td width="20%" align="right" height="23"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>London</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="23"><font face="Verdana" size="1">16. How is Brenda Mae Tarpley better known?</font></td>
    <td width="20%" align="right" height="23"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Brenda Lee</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="36"><font face="Verdana" size="1">17. In which stadium was the final of the 1992 Olympic tournament held?</font></td>
    <td width="20%" align="right" height="36"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Nou Camp</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="36"><font face="Verdana" size="1">18. For which film did Steven Spielberg win his first Oscar as Director?</font></td>
    <td width="20%" align="right" height="36"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Schindler's List</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="24"><font face="Verdana" size="1">19. Which aids to calculation did John Napier devise</font></td>
    <td width="20%" align="right" height="24"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>Logarithms</SELECT></font></td>
    </tr>
    <tr>
    <td width="83%" height="23"><font face="Verdana" size="1">20. What was the Fahrenheit reading in Truffaut's 1960s film?</font></td>
    <td width="20%" align="right" height="23"><font face="Verdana" size="1"><SELECT><OPTION>Answer<OPTION>451</SELECT></font></td>
    </tr>
    </table>
    </div>
    </CENTER>
    </body>

    Thanx,
    Alan
    http://www.alantimms.com

  • #2
    what R those "<br />"s I see in your source ?(http://www.bluehawaai.com/vB/showthr...=&threadid=272)

    Comment


    • #3
      Here's part of the source of your post on your site:
      Code:
        <table border="3" cellpadding="0" cellspacing="0" width="90%" height="972" bordercolor="#008080" bordercolorlight="#FFFFFF" bordercolordark="#008080">
      <br />
          <tr>
      <br />
            <td width="103%" valign="top" height="23" align="center" colspan="2"><H1><font color="#0000FF" face="Verdana" size="5">the UK Pub Quiz</font><font color="#FF0000" face="Verdana" size="5"> 
      <br />
              #3</font></H1><p><font face="Verdana" size="1">(c)2001 the UK Pub...but feel free to use the questions.</font></p><font face="Verdana" size="1">Answers are included. Congrats go to this weeks winner....<b>Krizzie</b>!! Thats 3 different winners in 3 weeks!! Due to time differences etc, we are gonna post the quiz on a Saturday for a trial period. Okies?</font></td>
      <br />
          </tr>
      Notice all the <br />'s? Because it is technically invalid to have code outside a <td> but inside a <table> or <tr>, IE puts it all above the table instead. This is the way vB works with data from a text box. The only way to avoid it is to run all your HTML together on one continuous line.

      Also the body tag and dual-center tags ain't helping anything.

      Comment


      • #4
        Thanks guys....I think I get the npicture
        http://www.alantimms.com

        Comment


        • #5
          even without the <br> i still get the same thing like he does
          and even with everything continuous.

          this is my html code

          <table>
          <tr>
          <td noWrap vAlign="bottom">No Bonus</td>
          <td align="middle" noWrap vAlign="bottom">48</td>
          <td align="middle" noWrap vAlign="bottom">54</td>
          <td align="middle" noWrap vAlign="bottom">65</td>
          <td align="middle" noWrap vAlign="bottom">78</td>
          <td align="middle" noWrap vAlign="bottom">96</td>
          <td align="middle" noWrap vAlign="bottom">120</td>
          </tr>
          </table>

          Comment


          • #6
            http://www.vbulletin.com/forum/showt...threadid=32632

            the code has to be written all on one line

            <table><tr><td>cell1</td></tr><tr><td>cell2</td></tr></table>
            There are only 10 types of people in the world: Those who understand binary, and those who don't

            Comment


            • #7
              yes I tried that
              and it won't work too

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X