stuckwithpins
10-15-2005, 01:17 PM
I've been working on a new layout for my fansite and I've bascially never used tables before. Previous layouts I've done have used "div" and aligned them to the left to keep it from falling out of line with the main image.
But this time, I'm algining the main image to the center and the only way to keep the body aligned is to use tables.
So I need some help.
Paste this into a notepad document and save it as an html file, open it, and tell me what I can do to fix it.
<html>
<head>
<title>....Coffin Crew.... [vampires will never hurt you.] </title>
<script type="text/javascript" src="http://www.haloscan.com/load/coffincrew"> </script>
</head>
<body background="http://i13.photobucket.com/albums/a273/vampiresthefansite/background.jpg" text="black" link=#4F3722 vlink=#4F3722 alink=#4F3722>
<body style="margin: 0">
<MAP NAME='imgmap'>
<AREA SHAPE='rect' COORDS='96,615,179,641' HREF='home.html' ALT='Home'>
<AREA SHAPE='rect' COORDS='184,616,269,640' HREF='gallery.html' target='_blank' ALT='Gallery'>
<AREA SHAPE='rect' COORDS='272,612,349,642' HREF='http://vampireswillnev.12.forumer.com/index.php' target='_blank' ALT='Message Boards'>
<AREA SHAPE='rect' COORDS='354,612,424,639' HREF='band.html' ALT='About the Band'>
<AREA SHAPE='rect' COORDS='429,614,487,639' HREF='fans.html' ALT='For the Fans'>
<AREA SHAPE='rect' COORDS='491,616,543,638' HREF='site.html' ALT='About the Site'>
</MAP>
<p align="center"><IMG SRC='http://i13.photobucket.com/albums/a273/vampiresthefansite/layout2.jpg' border=0 width=640 height=650 USEMAP='#imgmap'>
<style type=text/css>
body {scrollbar-face-color: #000000 ;
scrollbar-arrow-color: #4F3722 ;
scrollbar-track-color: #000000 ;
scrollbar-shadow-color: #000000 ;
scrollbar-darkshadow-color: #000000 ;
scrollbar-3dlight-color: #000000 ;
scrollbar-highlight-color: #000000 ;}
</style>
</p>
<table with="640" heigh="800" border="0" align="center" bgcolor="white">
<tr>
<td width="400">
<img src="http://i13.photobucket.com/albums/a273/vampiresthefansite/bnews.jpg" width=377>
<a href="javascript:HaloScan('COMMENTID');" target="_self">
<script type="text/javascript">postCount('COMMENTID'); </script></a>
</td>
<td width="234">
<img src="http://i13.photobucket.com/albums/a273/vampiresthefansite/bwelcome.jpg" width=234><br>
<br><br>
<img src="http://i13.photobucket.com/albums/a273/vampiresthefansite/bstats.jpg" width=234><br>
<br><br>
<img src="http://i13.photobucket.com/albums/a273/vampiresthefansite/btourdates.jpg" width=234><br>
<br><br>
<img src="http://i13.photobucket.com/albums/a273/vampiresthefansite/baffiliates.jpg" width=234><br>
<br><br>
<img src="http://i13.photobucket.com/albums/a273/vampiresthefansite/bdisclaimer.jpg" width=234><br>
<br><br>
</small>
</td>
</tr>
</table>
</body>
</html>
The table doesn't touch the main image. I don't know how to fix this.
Also, the banners in the tables (the News banner) is supposed to be up at the top, but it wants to fall towards the middle. I need help fixing this also.
And even though I said border="0", there still appears to be some what of a border. If I can't get rid of it as a whole, I'd like to at least change it to black.
One last thing: Is there a way I can create a definate height of the table?
Please help me out. And if there's anything else that should be pointed out, please don't be hesitant to do so.
Thanks.
<3
But this time, I'm algining the main image to the center and the only way to keep the body aligned is to use tables.
So I need some help.
Paste this into a notepad document and save it as an html file, open it, and tell me what I can do to fix it.
<html>
<head>
<title>....Coffin Crew.... [vampires will never hurt you.] </title>
<script type="text/javascript" src="http://www.haloscan.com/load/coffincrew"> </script>
</head>
<body background="http://i13.photobucket.com/albums/a273/vampiresthefansite/background.jpg" text="black" link=#4F3722 vlink=#4F3722 alink=#4F3722>
<body style="margin: 0">
<MAP NAME='imgmap'>
<AREA SHAPE='rect' COORDS='96,615,179,641' HREF='home.html' ALT='Home'>
<AREA SHAPE='rect' COORDS='184,616,269,640' HREF='gallery.html' target='_blank' ALT='Gallery'>
<AREA SHAPE='rect' COORDS='272,612,349,642' HREF='http://vampireswillnev.12.forumer.com/index.php' target='_blank' ALT='Message Boards'>
<AREA SHAPE='rect' COORDS='354,612,424,639' HREF='band.html' ALT='About the Band'>
<AREA SHAPE='rect' COORDS='429,614,487,639' HREF='fans.html' ALT='For the Fans'>
<AREA SHAPE='rect' COORDS='491,616,543,638' HREF='site.html' ALT='About the Site'>
</MAP>
<p align="center"><IMG SRC='http://i13.photobucket.com/albums/a273/vampiresthefansite/layout2.jpg' border=0 width=640 height=650 USEMAP='#imgmap'>
<style type=text/css>
body {scrollbar-face-color: #000000 ;
scrollbar-arrow-color: #4F3722 ;
scrollbar-track-color: #000000 ;
scrollbar-shadow-color: #000000 ;
scrollbar-darkshadow-color: #000000 ;
scrollbar-3dlight-color: #000000 ;
scrollbar-highlight-color: #000000 ;}
</style>
</p>
<table with="640" heigh="800" border="0" align="center" bgcolor="white">
<tr>
<td width="400">
<img src="http://i13.photobucket.com/albums/a273/vampiresthefansite/bnews.jpg" width=377>
<a href="javascript:HaloScan('COMMENTID');" target="_self">
<script type="text/javascript">postCount('COMMENTID'); </script></a>
</td>
<td width="234">
<img src="http://i13.photobucket.com/albums/a273/vampiresthefansite/bwelcome.jpg" width=234><br>
<br><br>
<img src="http://i13.photobucket.com/albums/a273/vampiresthefansite/bstats.jpg" width=234><br>
<br><br>
<img src="http://i13.photobucket.com/albums/a273/vampiresthefansite/btourdates.jpg" width=234><br>
<br><br>
<img src="http://i13.photobucket.com/albums/a273/vampiresthefansite/baffiliates.jpg" width=234><br>
<br><br>
<img src="http://i13.photobucket.com/albums/a273/vampiresthefansite/bdisclaimer.jpg" width=234><br>
<br><br>
</small>
</td>
</tr>
</table>
</body>
</html>
The table doesn't touch the main image. I don't know how to fix this.
Also, the banners in the tables (the News banner) is supposed to be up at the top, but it wants to fall towards the middle. I need help fixing this also.
And even though I said border="0", there still appears to be some what of a border. If I can't get rid of it as a whole, I'd like to at least change it to black.
One last thing: Is there a way I can create a definate height of the table?
Please help me out. And if there's anything else that should be pointed out, please don't be hesitant to do so.
Thanks.
<3