Exploding Garrmondo Weiner Interactive Swiss Army Penis

Exploding Garrmondo Weiner Interactive Swiss Army Penis (http://www.gamingforce.org/forums/index.php)
-   Help Desk (http://www.gamingforce.org/forums/forumdisplay.php?f=36)
-   -   HTML Help (http://www.gamingforce.org/forums/showthread.php?t=946)

Grawl Mar 5, 2006 05:03 PM

HTML Help
 
http://members.home.nl/grawl/oblivion.html

Why does the table start halfway down the page, the more rows I add?

Source:

Code:

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="640">
  <tr><br>
    <td bgcolor="#55A692" width="640" height="30">
    <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">The Elder Scrolls IV: Oblivion - Walkthrough (IGN Exclusive)</font></b></td>
  </tr>
  <tr>
  <td>
    <font face="Verdana" size="1"><p>Created by:
    <ul><li>Arjen 'Grawl' Voogt, <a href="http://www.grawl.nl">www.grawl.nl</a>, <a href="mailto:grawler@gmail.com">grawler@gmail.com</a>

    <li>Abram 'APY' Wagenaar, <a href="http://www.planetelderscrolls.com">www.planetelderscrolls.com</a>, <a href="mailto:apy@rpgplanet.com">apy@rpgplanet.com</a>
    <li>Bla
    <li>Bla
    <li>Bla</ul>
    <p>
    <b>Title:</b> The Elder Scrolls IV: Oblivion
    <br><b>System:</b> PC, Xbox360
    <br><b>Developer:</b> Bethesda
    <br><b>Publisher:</b> Ubisoft
    <br><b>Release Date:</b> 20 March 2006<p>

  </td>
  </tr>
  <tr><br>
      <td bgcolor="#55A692" width="640" height="30">
      <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Table of Contents</font></b></td>
  </tr>
  <tr>
  <td>

    <font face="Verdana" size="1"><p>
    01 - <a href="#Introduction">Introduction</a><br>
    02 - <a href="#Classes">Classes</a><br>
    03 - <a href="#Skills">Skills</a><br><p>
  </td></tr>
  <tr><br>

      <td bgcolor="#55A692" width="640" height="30">
      <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF" id="Introduction">Introduction</font></b></td>
  </tr>
 <tr>
  <td>
    <font face="Verdana" size="1"><p>
    Blabla something happened and then you got in jail, the king escapes, you too blablabla. Funky story.<p>
  </td></tr>

  <tr><br>
      <td bgcolor="#55A692" width="640" height="30">
      <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Space filling thing</font></b></td>
  </tr>
  <tr>
    <td>
      <font face="Verdana" size="1"><p>
      Blabla something happened and then you got in jail, the king escapes, you too blablabla. Funky story.<p>

  </td></tr>
  <tr><br>
        <td bgcolor="#55A692" width="640" height="30">
        <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Space filling thing</font></b></td>
  </tr>
  <tr>
    <td>
      <font face="Verdana" size="1"><p>

      Blabla something happened and then you got in jail, the king escapes, you too blablabla. Funky story.<p>
  </td></tr>
  <tr><br>
        <td bgcolor="#55A692" width="640" height="30">
        <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Space filling thing</font></b></td>
  </tr>
  <tr>
    <td>

      <font face="Verdana" size="1"><p>
      Blabla something happened and then you got in jail, the king escapes, you too blablabla. Funky story.<p>
  </td></tr>
  <tr><br>
        <td bgcolor="#55A692" width="640" height="30">
        <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF" id="Classes">Space filling thing</font></b></td>
  </tr>

And no, didn't finished the table-tag yet.

nazpyro Mar 5, 2006 05:09 PM

Try replacing all those "<tr><br>"s with just "<tr>".

Stealth Mar 5, 2006 05:11 PM

Also, you should align the table to the top. (align="top")

Grawl Mar 5, 2006 05:24 PM

Quote:

Originally Posted by nazpyro
Try replacing all those "<tr><br>"s with just "<tr>".

Doing that makes the tables follow each other without a break.

Quote:

Originally Posted by Stealth
Also, you should align the table to the top. (align="top")

Didn't work.

Also finished the table-tag, obviously.

russ Mar 5, 2006 05:31 PM

No seriously, take out the <br> tags and look at it.

Sir VG Mar 5, 2006 05:38 PM

Quote:

Doing that makes the tables follow each other without a break.
<tr> isn't a table command, it's a row command. Get your terms right man.

And if you want some gaps in the text, align the text to a vertical center. I can't remember the command off the top of my head though.

Little Brenty Brent Brent Mar 5, 2006 05:48 PM

Yeah, get rid of the <br> tags. If you want there to be a gap between table cells, just change your cellspacing from 0 to something else, or add another empty row in there to act as a spacer or something.

Bigblah Mar 5, 2006 06:53 PM

Don't put any data between your <tr> and <td> tags, they should be contained inside the <td> cells. Instead of

Code:

  </td>
  </tr>
  <tr><br>
      <td bgcolor="#55A692" width="640" height="30">

You could have

Code:

<br>
</td>
  </tr>
  <tr>
      <td bgcolor="#55A692" width="640" height="30">

(i.e. move the <br> into the cell of the previous row) and it should turn out how you want it.

You could also remove the <br> tags and define the padding-top or padding-bottom CSS attributes for your <td> tags instead. Or just use cellspacing as Brent said, for simplicity.

By the way, note that your <p> tags aren't closed properly.

Sir VG Mar 6, 2006 11:22 AM

I figured out the command I was thinking of.
<td width="640" height="30" valign="middle" bgcolor="#55A692">

This centers the text vertically.

Grawl Mar 6, 2006 12:52 PM

Alright, check again, it works now.

Now I'm puzzle where the "<" comes from on top ._.

Code:

<table align="top" border="0" cellpadding="2" cellspacing="2" style="border-collapse: collapse" bordercolor="#111111" width="640">
  <tr>
    <td bgcolor="#55A692" width="640" height="30">
    <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">The Elder Scrolls IV: Oblivion - Walkthrough (IGN Exclusive)</font></b></td>
  </tr>
  <tr>
  <td>
    <font face="Verdana" size="1"><p>Created by:
    <ul><li>Arjen 'Grawl' Voogt, <a href="http://www.grawl.nl">www.grawl.nl</a>, <a href="mailto:grawler@gmail.com">grawler@gmail.com</a>
    <li>Abram 'APY' Wagenaar, <a href="http://www.planetelderscrolls.com">www.planetelderscrolls.com</a>, <a href="mailto:apy@rpgplanet.com">apy@rpgplanet.com</a>
    <li>Bla
    <li>Bla
    <li>Bla</ul>
    <p>
    <b>Title:</b> The Elder Scrolls IV: Oblivion
    <br><b>System:</b> PC, Xbox360
    <br><b>Developer:</b> Bethesda
    <br><b>Publisher:</b> Ubisoft
    <br><b>Release Date:</b> 20 March 2006<p>
  </td>
  </tr>
  <tr><
      <td bgcolor="#55A692" width="640" height="30">
      <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Table of Contents</font></b></td>
  </tr>
  <tr>
  <td>
    <font face="Verdana" size="1"><p>
    01 - <a href="#Introduction">Introduction</a><br>
    02 - <a href="#Classes">Classes</a><br>
    03 - <a href="#Skills">Skills</a><br><p>
  </td></tr>
  <tr>
      <td bgcolor="#55A692" width="640" height="30">
      <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF" id="Introduction">Introduction</font></b></td>
  </tr>
 <tr>
  <td>
    <font face="Verdana" size="1"><p>
    Blabla something happened and then you got in jail, the king escapes, you too blablabla. Funky story.<p>
  </td></tr>
  <tr>
      <td bgcolor="#55A692" width="640" height="30">
      <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Space filling thing</font></b></td>
  </tr>
  <tr>
    <td>
      <font face="Verdana" size="1"><p>
      Blabla something happened and then you got in jail, the king escapes, you too blablabla. Funky story.<p>
  </td></tr>
  <tr>
        <td bgcolor="#55A692" width="640" height="30">
        <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Space filling thing</font></b></td>
  </tr>
  <tr>
    <td>
      <font face="Verdana" size="1"><p>
      Blabla something happened and then you got in jail, the king escapes, you too blablabla. Funky story.<p>
  </td></tr>
  <tr>
        <td bgcolor="#55A692" width="640" height="30">
        <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Space filling thing</font></b></td>
  </tr>
  <tr>
    <td>
      <font face="Verdana" size="1"><p>
      Blabla something happened and then you got in jail, the king escapes, you too blablabla. Funky story.<p>
  </td></tr>
  <tr>
        <td bgcolor="#55A692" width="640" height="30">
        <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF" id="Classes">Space filling thing</font></b></td>
  </tr>
 </table>


Duminas Mar 6, 2006 12:59 PM

Line 22, specifically this:
Code:

  <tr><
Yay for sed making that really easy~

Grawl Mar 6, 2006 12:59 PM

Right ;p


All times are GMT -5. The time now is 06:17 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2025, vBulletin Solutions, Inc.