View Full Version : Need help with layout...


neowondersx3
01-03-2006, 10:10 AM
Theres a blue border around my banner, and a huge space above and below it too. Can you look at my code and help me fix it?! Thanks.
My site isnt complete finished.
Heres the link to my site::
http://fadeddreams.vzz.net

And here is the code that I used.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Neo Wonders</title>
<LINK REL=stylesheet HREF="style.css" TYPE="text/css">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
</head>
<body>
<div align="center">
<div align="center">
<MAP NAME="topbanner">
<AREA SHAPE="RECT" COORDS="118,7,163,20" HREF="http://fadeddreams.vzz.net" TITLE="Refresh">
<AREA SHAPE="RECT" COORDS="168,7,213,20" HREF="http://fadeddreams.vzz.net/neopets.html" TITLE="About Neopets">
<AREA SHAPE="RECT" COORDS="218,7,263,20" HREF="http://fadeddreams.vzz.net/guides.html" TITLE="Guides">
<AREA SHAPE="RECT" COORDS="268,7,313,20" HREF="http://fadeddreams.vzz.net/goodies" TITLE="Goodies">
<AREA SHAPE="RECT" COORDS="318,7,363,20" HREF="http://fadeddreams.vzz.net/aboutnw" TITLE="About Neo Wonders">
</MAP>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="700" colspan="3"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/topbanner.gif" border"0" usemap="#topbanner"</td>
</tr>
<tr>
<td width="150" height="300" align="right" valign="top" bgcolor="#FFFFFF"><table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="37" valign="bottom"><img src="http://125.photobucket.com/albums/c76/neowondersx3/datetime.gif" width="150" height="37"></td>
</tr>
<tr>
<td height="64" align="center" valign="top" background="http://125.photobucket.com/albums/c76/neowondersx3/leftbg.gif" style=background-repeat:repeat-y; background-position:center">
LINKS<BR>
LINKS<BR>
LINKS<BR>
LINKS</td>
</tr>
<tr>
<td height="17" align="center" align="top"><img src="http://125.photobucket.com/albums/c76/neowondersx3/bottom.gif"></td>
</tr>
</table>
<BR>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="37" valign="bottom"><img src="http://125.photobucket.com/albums/c76/neowondersx3/neopiancalendar.gif" width="150" height="37"></td>
</tr>
<tr>
<td height="64" align="center" valign="top" background="http://125.photobucket.com/albums/c76/neowondersx3/leftbg.gif" style=background-repeat:repeat-y; background-position:center">
<center>
<u><b>January Events</b></u><BR>
3 - Half Price Day & Aisha Day<BR>
11 - Buzz Day<BR>
14 - Sloth Appreciation Day<br>
16 - Elephante Day<br>
29 - Kacheek Day
</td>
</center>
</tr>
<tr>
<td height="17" align="center" valign="top"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/bottom.gif"></td>
</tr>
</table>
<BR>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="37" valign="bottom"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/quicklinks.gif" width="150" height="37"></td>
</tr>
<tr>
<td height="64" align="center" valign="top" background="http://i25.photobucket.com/albums/c76/neowondersx3/leftbg.gif" style=background-repeat:repeat-y; background-position:center">
LINKS<br>
LINK<BR>
LINK<BR>
LINK<BR>
</td>
</tr>
<tr>
<td height="17" align="center" valign="top"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/bottom.gif"></td>
</tr>
</table>
<BR>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="37" valign="bottom"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/neopetslinks.gif" width="150" height="37"></td>
</tr>
<tr>
<td height="64" align="center" valign="top" background="http://i25.photobucket.com/albums/c76/neowondersx3/leftbg.gif" style=background-repeat:repeat-y; background-position:center">
LINK<BR>
LINK<BR>
LINK<BR>
LINK</td>
</tr>
<tr>
<td height="17" align="center" valign="top"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/bottom.gif"></td>
</tr>
</table>
<br>
<p>
<html>
<head>
<title>Neo Wonders</title>
<body>
<center>
<td width="500" align="center" valign="top" bgcolor="#FFFFFF"><table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<!--------------------NEW UPDATES START HERE------------------->
<td bgcolor=#a3b6cd style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid" height="2">
<p align="center"<font class=small> 3 January 2006 </font></p>
</td>
</tr>
</tbody>
</table>
<P><B><U>NeoWonders</u></b></p>
There currently are no updates.
<br />
<BR><BR></p>
</div>
</body>
</head>
</html>

neowondersx3
01-03-2006, 10:14 AM
Ok, I fixed the space. lol. But I still don't know whats up with the blue border?!?! anyone?!

neowondersx3
01-03-2006, 11:33 AM
Alright .. I have another problem, besides the blue border. Do you think you can give me a code to where I put a black border around the update part? I tried, I think I did it wrong. Will you look at the code? Thanks.
I'll have to put it in another post because its too long.

neowondersx3
01-03-2006, 11:36 AM
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Neo Wonders</title>
<LINK REL=stylesheet HREF="style.css" TYPE="text/css">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
</head>
<body>
<div align="center">
<MAP NAME="topbanner">
<AREA SHAPE="RECT" COORDS="118,7,163,20" HREF="http://fadeddreams.vzz.net" TITLE="Refresh">
<AREA SHAPE="RECT" COORDS="168,7,213,20" HREF="http://fadeddreams.vzz.net/neopets.html" TITLE="About Neopets">
<AREA SHAPE="RECT" COORDS="218,7,263,20" HREF="http://fadeddreams.vzz.net/guides.html" TITLE="Guides">
<AREA SHAPE="RECT" COORDS="268,7,313,20" HREF="http://fadeddreams.vzz.net/goodies" TITLE="Goodies">
<AREA SHAPE="RECT" COORDS="318,7,363,20" HREF="http://fadeddreams.vzz.net/aboutnw" TITLE="About Neo Wonders">
</MAP>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="250" colspan="3"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/topbanner.gif" border"0" usemap="#topbanner"</td>
</tr>
<tr>
<td width="150" height="300" align="right" valign="top" bgcolor="#FFFFFF"><table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="37" valign="bottom"><img src="http://125.photobucket.com/albums/c76/neowondersx3/datetime.gif" width="150" height="37"></td>
</tr>
<tr>
<td height="64" align="center" valign="top" background="http://125.photobucket.com/albums/c76/neowondersx3/leftbg.gif" style=background-repeat:repeat-y; background-position:center">
<SCRIPT language=JavaScript src="clock.js" type=text/javascript></SCRIPT>
</td>
</tr>
<tr>
<td height="17" align="center" align="top"><img src="http://125.photobucket.com/albums/c76/neowondersx3/bottom.gif"></td>
</tr>
</table>
<BR>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="37" valign="bottom"><img src="http://125.photobucket.com/albums/c76/neowondersx3/neopiancalendar.gif" width="150" height="37"></td>
</tr>
<tr>
<td height="64" align="center" valign="top" background="http://125.photobucket.com/albums/c76/neowondersx3/leftbg.gif" style=background-repeat:repeat-y; background-position:center">
<center>
<u><b>January Events</b></u><br>
3 - Half Price Day & Aisha Day<BR>
11 - Buzz Day<BR>
14 - Sloth Appreciation Day<br>
16 - Elephante Day<br>
29 - Kacheek Day
</td>
</center>
</tr>
<tr>
<td height="17" align="center" valign="top"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/bottom.gif"></td>
</tr>
</table>
<BR>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="37" valign="bottom"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/quicklinks.gif" width="150" height="37"></td>
</tr>
<tr>
<td height="64" align="center" valign="top" background="http://i25.photobucket.com/albums/c76/neowondersx3/leftbg.gif" style=background-repeat:repeat-y; background-position:center">
Secret Avatars<BR>
Avatar URLS<BR>
Hidden Links<BR>
Random Events<BR>
World Challenges
</td>
</tr>
<tr>
<td height="17" align="center" valign="top"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/bottom.gif"></td>
</tr>
</table>
<BR>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="37" valign="bottom"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/neopetslinks.gif" width="150" height="37"></td>
</tr>
<tr>
<td height="64" align="center" valign="top" background="http://i25.photobucket.com/albums/c76/neowondersx3/leftbg.gif" style=background-repeat:repeat-y; background-position:center">
</td>
</tr>
<tr>
<td height="17" align="center" valign="top"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/bottom.gif"></td>
</tr>
</table>
<br>
<p>
<html>
<head>
<title>Neo Wonders</title>
<body>
<center>
<td width="500" align="center" valign="top" bgcolor="#FFFFFF"><table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<!--------------------NEW UPDATES START HERE------------------->
<tr>
<td width="411" height="54" align="left" valign="middle" bgcolor="#a3b6cd" border="1px" bordercolor="black">
<b>Welcome Everyone !!</b>
<br>posted by <b><a href="mailto:neowondersx3@yahoo.com">Trisha</a></b>
<br>posted on <b>January 3rd, 5:17 AM Central Time</b>
</td>
<td width="54" height="54" align="right" valign="middle" bgcolor="#a3b6cd"><img alt="" src="http://i25.photobucket.com/albums/c76/neowondersx3/avie.gif" style="border: none;" /></td>
</tr>
<tr>
<td width="100%" valign="top" bgcolor="white" colspan="2" border="1px" bordercolor="black">
NO POSTS.<BR><BR>
NW.
<br />
<BR><BR></p>
</div>
</body>
</head>
</html>

djou
01-03-2006, 04:03 PM
It has nothing to do with your image, but the DOCTYPE part should be at the very top of your page, before <html>

For the image, add border="0" around it.

Monkey Bizzle
01-03-2006, 05:22 PM
Your image is 200px tall but you have the cell set to 250px high. Also, you left out a closing > for your image. That whole line should be:

<td height="200" colspan="3"><img src="http://i25.photobucket.com/albums/c76/neowondersx3/topbanner.gif" border"0" usemap="#topbanner"></td>

neowondersx3
01-03-2006, 09:39 PM
theres still a blue border around it, and when i put your code in it, the space that i had after to banner is gone now, and i need a little bit of space otherwise it looks weird ... not only that but is there a way to ptut a border around the update part?!!

katybug
01-13-2006, 02:45 AM
ya I'm having the same problem at my site! blue border and everything lol =P
http://www.freewebs.com/foreverdreaming_/

Monkey Bizzle
01-13-2006, 05:15 AM
ya I'm having the same problem at my site! blue border and everything lol =P

You've got some problems going on with your code. Here it is corrected:

<html>
<head>
<title>Forever Dreaming;; The blog of a dreamer</title>

<style type="text/css">
body
{scrollbar-face-color: #ffcce8;
scrollbar-highlight-color: #ffcce8;
scrollbar-3dlight-color: #ffcce8;
scrollbar-shadow-color: #ffcce8;
scrollbar-darkshadow-color: #ffcce8;
scrollbar-arrow-color: #f27fb3;
scrollbar-track-color : #ffcce8}

body, a:link, a:visited, a:active, a font
{color: #f27fb3;
font:8pt Georgia;}

a:hover
{background: #ffcce8;}

table
{background: transparent;}

</style>

</head>
<body>

<MAP NAME="foreverdream" BORDER="0">
<AREA SHAPE=rect COORDS="766,102,828,125" HREF="http://www.freewebs.com/foreverdreaming_/" ALT="Home">
<AREA SHAPE=rect COORDS="763,139,833,163" HREF="http://www.freewebs.com/foreverdreaming_/visitor.htm" ALT="sTuFf FoR yOu">
<AREA SHAPE=rect COORDS="777,180,819,201" HREF="http://www.freewebs.com/foreverdreaming_/me.htm" ALT="mY iNfO">
<AREA SHAPE=rect COORDS="774,218,822,238" HREF="http://www.freewebs.com/foreverdreaming_/site.htm" ALT="SiTe InFo">
<AREA SHAPE=rect COORDS="766,254,827,274" HREF="http://www.freewebs.com/foreverdreaming_/links.htm" ALT="LiNkS">
<AREA SHAPE=rect COORDS="754,293,842,315" HREF="http://www.freewebs.com/foreverdreaming_/archives.htm" ALT="PaSt ThInGs">
</MAP>

<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="250" colspan="0" border="0">
<img src="http://home.earthlink.net/~sreibold/sitebuildercontent/sitebuilderpictures/foreverdreaming_vg.gif" border"0" usemap="#foreverdream">
</td>
</tr>
</table>

<div style="border: transparent; color: black; background: transparent; color: #f175ad; padding: 4px; position: absolute; top: 450px; left: 80px; width: 620px; height: 1290px; overflow: auto;">
Welcome to Forever Dreaming!
<br> ---CURRENTLY UNDER CONSTRUCTION---
</div>

</body>
</html>