HTML: How can I fix this? Table placement? ?
Ok so, I have a website, maryandkatherine.webs.com and I want it to have updateson the first page. I want the most recent ones on the top so in the code, I just put the recent ones before the old ones, but the old one gets messed up…
Heres the code I have for the tables now:
<table width="690px" cellpadding="0" cellspacing="0"><tr>
<td width="82%" align="left">
<h1>November 28, 2008</h1><br><br><b>The party’s over :(</b><br>
Well, Thanksgiving is over, and unfortunately, neither Katherine <i>or</i> John could sleepover. We didn’t do any swap at all! <u>What kind of family gathering is this?!?!</u> However, there still is Christmas. Maybe we can have a swap THEN. Anyways, we made two new videos, but they haven’t been put on <a href="youtube.com/kickdribblescore">our youtube</a>, but if you check our website soon, it will be here. So stay tuned for a sneak peek!
</td></tr></table></div></div><br><br><br>
<table width="690px" cellpadding="0" cellspacing="0">
<td width="82%" align="left">
<h1>November 27, 2008</h1><br><br><b>Happy Thanksgiving!</b><br>Our website is finally here! It’s not currently finished, but Mary will be working on it a lot.
Since it’s thanksgiving, Mary will be having the whole family over, including Katherine <i>and</i> John. That means a lot more new videos! So be ready to see them on youtube!<br>Just remember, this site is still
<u> under construction</u>.<br><br>
<b>Katherine’s here!</b><br> Happy Thanksgiving …I AM THANKFUL FOR MARY! Ok, well we’ve got to go be thankful for eachother…haha just kidding. Have a happy holiday!<br>- Katherine and Mary
<br><br>
</td></table></div></div>
But if you look at the website, you can see what’s wrong. What can I do to the code to fix it?
By the way I use HTML….in case you cant tell..
<tr><table width="690px" cellpadding="0" cellspacing="0"><tr>
<td width="82%" align="left">
<h1>November 28, 2008</h1><br><br><b>The party’s over :(</b><br>
BLAHBLAH
</td></tr></div></div><br><br><br><br>
<table><table width="690px" cellpadding="0" cellspacing="0">
<td width="82%" align="left"><td>
<h1>November 27, 2008</h1><br><br><b>Happy Thanksgiving!</b><br>BLAHBLAH
</td></table></tr>
Thanks for all your help though!
never mind…Thanks! I fixed it
Tagged with: br • cellpadding • christmas • div • h1 • haha • happy holiday • happy thanksgiving • lt • sneak peek • td width • thanksgiving • youtube
Filed under: Website Placement
Like this post? Subscribe to my RSS feed and get loads more!















Since you’re obviously just starting to learn, I’m not going to bore you with stuff about not using tables and all that…
You forgot the <tr> … </tr> in your second table.
It’s:
<table>
<tr>
<td> …. your stuff… </td>
</tr>
</table>
Remove the two </div>s from between the tables, too…
Try putting it in a body section, or if you use a sitebuilder a new section, your code itself seems fine. But if this is wrong you may wan’t to not align the text, hope this helps!
You’re missing a <tr> tag in the older entry.
Why the </div></div> at the end of each table? With no opening <div> tag, those do nothing.
You’re using too many <br> tags. Use real paragraphs instead of just line breaks.
got ya.. I tried to look at the code on your site and this is the solution… remove the two closing tag of div at the end of the closing tag of the first table.. thats it…
Anyway here’s the correct code little girls…
<html>
<title><title>
<style />
body {background: #ffffff url(‘http://sunnyneo.com/userlookups/UL_mspp_bg.jpg‘) repeat-y top left;}
body, font, td, p, a, .medText{font:8pt tahoma;}
#nst, .user, hr, #userneohome{display:none;visibility:hidden;}
#main a, #main a b {text-decoration: none;color:#fb30cb;font:8pt century gothic;}
#main a:hover, #main a b:hover {text-decoration:none;color:#c50096;}
b{color:#009ace;letter-spacing:2px;text-transform:uppercase;}
u{color:#fb30cb;letter-spacing:2px;border-bottom:3px double #939393;text-decoration:none;}
i{color:#d6aa00;letter-spacing:2px;}
.contentModuleHeaderAlt, .contentModuleHeader, h1, #usertrophies .contentModuleHeaderAlt {color:#000000;font-size:17pt;background: #ffffff url(‘http://sunnyneo.com/userlookups/UL_mspp_h1.jpg‘) no-repeat top left;text-align:left;font-family:century gothic;height:32px;padding-left:15px;margin-bottom:1px;margin-top:1px;text-transform:lowercase;font-weight:normal;}
.contentModuleTable, #abt1 {border: 2px solid #cbcbcb;}
.contentModule, #abt {border: 1px solid black;}
#footer, #header, #contentcontent, .sf, hr{display:none;}
#main{border:none;background:none;}
#userneopets{width:698px}
#usertrophies b, #usertrophies{font:7pt verdana;font-weight:normal;letter-spacing:0px}
#usertrophies td{padding:0px;}
.contentModule div a img, .contentModule div b {display:inline;}
#content{width:700px;}
#nav {position:absolute;width:700px;left:72px;top:90px;text-align:center;z-index:2}
#nav a{color:#9a9a9a;font:18pt georgia;text-decoration:none;padding-left:20px;padding-right:20px;}
#nav a:hover{color:#ffcf00;border-left:5px solid #009ace;border-right:5px solid #fb30cb;}
#pic{position:absolute;top:0;left:0;z-index:1;overflow:auto;}
#abt{width:700px;}
#stats{position:absolute;z-index:2;left:72px;top:135px;width:700px;text-align:center;}
</style />
<body>
<div id="pic">
<img src="http://i496.photobucket.com/albums/rr327/mre308/header.jpg" width="780" height="120" align="right"></div>
<div id="nav">
<a href="http://www.freewebs.com/maryandkatherine/index.htm">Home</a>
<a href="http://www.freewebs.com/maryandkatherine/projects.htm">Projects</a>
<a href="http://www.freewebs.com/maryandkatherine/question.htm">Ask Us a Question</a>
<a href="http://www.freewebs.com/maryandkatherine/videos.htm">Videos</a>
</div>
<div id="stats">
<div id="abt"><div id="abt1">
<table width="690px" cellpadding="0" cellspacing="0">
<tr>
<td width="82%" valign="top" align="center">
<h1>Mary and Katherine</h1>
</td>
</tr>
</table>
<table>
<br><br><br><br>
<table width="690px" cellpadding="0" cellspacing="0">
<tr>
<td width="82%" align="left">
<h1>November 28, 2008</h1><br><br><b>The party’s over :(</b><br>
Well, Thanksgiving is over, and unfortunately, neither Katherine <i>or</i> John could sleepover. We didn’t do any swap at all! <u>What kind of family gathering is this?!?!</u> However, there still is Christmas. Maybe we can have a swap THEN. Anyways, we made two new videos, but they haven’t been put on <a href="youtube.com/kickdribblescore">our youtube</a>, but if you check our website soon, it will be here. So stay tuned for a sneak peek!
</td>
</tr>
</table><br><br><br>
<table width="690px" cellpadding="0" cellspacing="0">
<tr>
<td width="82%" align="left">
<h1>November 27, 2008</h1><br><br><b>Happy Thanksgiving!</b><br>Our website is finally here! It’s not currently finished, but Mary will be working on it a lot.
Since it’s thanksgiving, Mary will be having the whole family over, including Katherine <i>and</i> John. That means a lot more new videos! So be ready to see them on youtube!<br>Just remember, this site is still
<u> under construction</u>.<br><br>
<b>Katherine’s here!</b><br> Happy Thanksgiving …I AM THANKFUL FOR MARY! Ok, well we’ve got to go be thankful for eachother…haha just kidding. Have a happy holiday!<br>- Katherine and Mary
<br><br>
</td>
</tr>
</table></div></div>
<!– –><script type="text/javascript" src="/i.js"></script><script type="text/javascript">if(typeof(urchinTracker)==’function’){_uacct="UA-230305-2";_udn="none";_uff=false;urchinTracker();}</script><script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script> <script type="text/javascript">_qacct="p-44naSaXtNJt26";quantserve();</script>
<body>
<html>