• NOW LIVE! Into the Woods--new character species, eerie monsters, and haunting villains to populate the woodlands of your D&D games.

Quick html help?

I'm trying to lay out a table for a web page, and to achieve a sort of numbering, I made a table, with numbers in column one, text in column two. But the numbers are located in the vertical center of their cell, and I want them to be at the top so they'll align with where the text starts.

I'll include the code of what I have in case you need to take a look at it, but could someone help, please? I don't know html well at all, and even with MS Frontpage I can't figure out how to fix this.

Code:
<html>




<p><b><span style="font-size: 16.0pt">Tides of Homeland Primer</span></b>
<br>What you know, and what’s important. <br>
 </p>


<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber1">
<tr><td>0.</td>
    <td> <b>Rule Zero.</b>The goal of the game is to have fun, 
and so I generally let players have fun and get away with improbable acts if 
they’re cool and entertaining.  If you’re not having fun, let me know, and we’ll 
figure out how what the game is lacking for you.</td>
  </tr>
<tr><td>1.</td><td> <b>Tides of Homeland.</b> Though you may leave your 
homeland and travel far, it is still part of your life, and will inevitably 
catch up with you.  Please do this game master a favor and, when coming up with 
characters, create some history of where you are from, and how your home 
affected who you are.</td></tr>  <tr>
    <td>2.</td>
    <td> <b>Comic Heroic Tone.</b> Though I like to try to have 
serious, emotional games with high drama, I typically end up with something 
slightly less funny than <i>The Princess Bride</i>, slightly less 
tongue-in-cheek than <i>The Slayers</i>. Both are recommended viewing.  
    Both silly humor and brooding angst have a place in my games, so I hope you 
    will enjoy all parts of the spectrum.</td>
  </tr>
  <tr>
    <td>3.</td>
    <td> <b>Ancient Madness and Modern Evil.</b> As I am inspired by Cthulhu, Hellboy, 
and similar stories, the world is filled with plots to unearth ancient forces of doom, 
and many secret societies seek to gain 
power through forbidden magic. Myths tell of the Aquiline Heart – source of 
immortality – and the Torch of the Burning Sky – an artifact that let a man rule 
a world, and let his death ruin it. Legends speak of nameless evil trapped in a 
lifeless cave in Kequalak, of forgotten gates to other worlds sealed in the 
glaciers of the Everice Sea, and of holy relics with miraculous healing powers, 
like the Leg of Diogenes. </td>
  </tr>
  <tr>
    <td>4.</td>
    <td> <b>Nine Races.</b> The sentient races are humans, Orcs 
(Herethim), Elves (Jenelesti), Gnomes (Jispin), Minotaurs (Geidon), Fey (Seelae), 
Goblins, Aechan, and Dragons.</td>
  </tr>
  <tr>
    <td>5.</td>
    <td> <b>Trema.</b> There are two continents, Northern and 
Southern Trema, normally referred to as just ‘the two continents.’ Other 
continents may exist.  Other planes certainly exist, but few people travel 
there. </td>
  </tr>
  <tr>
    <td>6.</td>
    <td> <b>The Northern Continent.</b> Two mountain ranges run 
north to south, dividing the continent into three parts.  The major nations on 
this continent are Tennas, Kequalak, Tundanesti, Gresia, Innenotdar, Dorisia, 
Sindaire, Nozama, and Elstrice.</td>
  </tr>
  <tr>
    <td>7.</td>
    <td> <b>The Southern Continent.</b> On the isthmus that 
connects the two continents is the citystate of Seaquen, a huge port city of 
several million people. Also on this continent are the nations of Vaneljesti, 
Caval, and Nau-Hereth.</td>
  </tr>
  <tr>
    <td>8.</td>
    <td> <b>Magic and Technology.</b> Most people treat magic as 
part of life. It doesn’t affect most people usually, and it’s worth looking out 
for because it <i>can</i> be dangerous, but most people don’t worry about it.
The most advanced technologies of the world are likely found in Seaquen, 
Elstrice, and Nozama, including advanced sailing ships, clockwork devices, and 
anything else available in the 14<sup>th</sup> century on Earth. Strangely, 
though, the Orcs of Nau-Hereth have recently begun to use strange ships of 
steel, powered by fire, a technology rumored to have come from another land.</td>
  </tr>
  <tr>
    <td> </td>
    <td> </td>
  </tr>
</table>



</html>
 

log in or register to remove this ad

I think you're looking for valign="top". Though I would suggest using the Ordered List (OL) and List Item (LI) tags to make a bullet list, but with numbers. Also you seem to of forgotten the BODY and HEAD tags too.

Here is what I'm talkng about. Hope it is useful.

Code:
<html>

<head></head>

<body>

<p><b><span style="font-size: 16.0pt">Tides of Homeland Primer</span></b>
<br>What you know, and what’s important. <br>
 </p>

<ol type="number"><li><b>Rule Zero.</b>The goal of the game is to have fun, and so I generally let players have fun and get away with improbable acts if they’re cool and entertaining.  If you’re not having fun, let me know, and we’ll figure out how what the game is lacking for you.</li>

<li> <b>Tides of Homeland.</b> Though you may leave your homeland and travel far, it is still part of your life, and will inevitably catch up with you.  Please do this game master a favor and, when coming up with characters, create some history of where you are from, and how your home affected who you are.</li>

<li> <b>Comic Heroic Tone.</b> Though I like to try to have serious, emotional games with high drama, I typically end up with something slightly less funny than <i>The Princess Bride</i>, slightly less tongue-in-cheek than <i>The Slayers</i>. Both are recommended viewing. Both silly humor and brooding angst have a place in my games, so I hope you will enjoy all parts of the spectrum.</li>

    <li> <b>Ancient Madness and Modern Evil.</b> As I am inspired by Cthulhu, Hellboy, and similar stories, the world is filled with plots to unearth ancient forces of doom, and many secret societies seek to gain power through forbidden magic. Myths tell of the Aquiline Heart – source of immortality – and the Torch of the Burning Sky – an artifact that let a man rule a world, and let his death ruin it. Legends speak of nameless evil trapped in a lifeless cave in Kequalak, of forgotten gates to other worlds sealed in the 
glaciers of the Everice Sea, and of holy relics with miraculous healing powers, 
like the Leg of Diogenes. </li>

    <li> <b>Nine Races.</b> The sentient races are humans, Orcs (Herethim), Elves (Jenelesti), Gnomes (Jispin), Minotaurs (Geidon), Fey (Seelae), Goblins, Aechan, and Dragons.</li>

    <li> <b>Trema.</b> There are two continents, Northern and Southern Trema, normally referred to as just ‘the two continents.’ Other continents may exist.  Other planes certainly exist, but few people travel there. </li>

    <li> <b>The Northern Continent.</b> Two mountain ranges run north to south, dividing the continent into three parts.  The major nations on this continent are Tennas, Kequalak, Tundanesti, Gresia, Innenotdar, Dorisia, Sindaire, Nozama, and Elstrice.</li>

    <li> <b>The Southern Continent.</b> On the isthmus that connects the two continents is the citystate of Seaquen, a huge port city of several million people. Also on this continent are the nations of Vaneljesti, Caval, and Nau-Hereth.</li>

    <li> <b>Magic and Technology.</b> Most people treat magic as part of life. It doesn’t affect most people usually, and it’s worth looking out for because it <i>can</i> be dangerous, but most people don’t worry about it. The most advanced technologies of the world are likely found in Seaquen, Elstrice, and Nozama, including advanced sailing ships, clockwork devices, and anything else available in the 14<sup>th</sup> century on Earth. Strangely, though, the Orcs of Nau-Hereth have recently begun to use strange ships of steel, powered by fire, a technology rumored to have come from another land.</li>
</ol>

</body>
</html>

Edit -----
Fixed text spacing
 
Last edited:


You know, I've never really thought about it at all. It was just something I've always seen in html code and now has become a habit to type in. :p But seeing how the page you got worked fine without it, guess you dont need it after all..
I know that the Body tag can be used to give a page a certain background image or color, change the colors of links, and stuff with the right code.
 

RangerWickett said:
Hm. Um, again this is my inexperience showing, but what good are the Body and Head tags?

Thanks for the advice.
Short, not complicated answer: They demark areas used for general formatting (like the title in the top bar) and general script routines (all header) and the general text/displayed portion (body) of the html file.

Though technically imprecise, you could also say that the {head} tags contain the document properties, while the {body} tags contain the document contents.

I'm an ASP.NET developer, so I play in a little bit different box. I'm sure my answers could be more precise, but hopefully they got the point across.
 

Head and Body tags help the browser display the page more quickly, as it can more easily figure out what is what. Pages without them are poorly formed and, while most browsers (though not all) will go ahead and process the page, you're not helping the browser at all. Screen readers (for the blind) may have a tough time without them, too.

To sum: they are the basic description for the page, and it is important to include them.
 

Also, without a Head tag you can't have a Title tag, and without a Title tag then your page (a) won't have a name up at the top of the browser window, and (b) won't have a name if someone tries to add it as a bookmark/favorite.
 

Into the Woods

Remove ads

Top