PDA

View Full Version : Problem with syntax



Mejse78
02-16-2012, 03:28 PM
Hi there...

I'm trying to make a website, and the coding is giving me trouble.
I want the layout to be like this:
http://i1086.photobucket.com/albums/j447/Mejse78/skitse.png

(There's a bord round the table, wich is made by pictures..)

My code looks like this:

<HTML>
<HEAD><TITLE>tegnehulen.dk</TITLE>
<META content=0 http-equiv=Expires>
<META name=description content="Her kan du se og bestille illustrationer. Se mit galleri. Se mine tutorials. Bestil illustrationer.">
<META name=keywords content="Tutorials, photoshop, Illustrationer, prisliste, tegner, bestilling, galleri, illustrator, blog">
<STYLE type=text/css>
body, p, td{
font-family: verdana;
font-size: 8pt;
font-weight: normal;
color: #000000;
margin: 0px;
}
ul, ol, blockquote{
margin: 0px 0px 0px 40px;
padding: 0px;
}
ul{
list-style-type: disc;
}
h1{
font-family: verdana;
font-size: 16pt;
font-weight: bold;
color: #000000;
margin: 0px;
}
h2{
font-family:verdana;
font-size: 14pt;
font-weight:normal;
color:#ff9900;
margin: 0px;
}
h3{
font-weight: normal;
font-size: 16pt;
margin: 0px;
}
h4{
font-weight: normal;
font-size: 14pt;
margin: 0px;
}
pre{
margin: 0px;
}
a{
color:#4682b4;
text-decoration:none;
}
a:hover{
color:#ffcc00;
text-decoration:none;
}
.menu td{
color:#000000;
font-size: 8pt;
text-decoration:none;
font-weight: bold;
}
.menu td a{
color:#000000;
font-size: 8pt;
text-decoration:none;
font-weight: normal;
}
.menu td a:hover{
color:#ffcc00;
text-decoration:none;
}

</STYLE>
</HEAD>
<BODY>
<TABLE style="BORDER-COLLAPSE: collapse;POSITION: relative;BACKGROUND: none transparent scroll repeat 0% 0%;TOP: 0px;LEFT: 0px" id=maintable border=0 cellSpacing=0 cellPadding=0 width=935 align=center height=600>
<TBODY>
<TR>
<TD style="WIDTH: 17px;BACKGROUND: url(/images/flowers/page-upper-left.gif) no-repeat;HEIGHT: 13px" height=13 vAlign=top width=17><IMG width=1 height=1></TD>
<TD style="BACKGROUND: url(/images/flowers/page-upper-middle.gif) repeat-x;HEIGHT: 13px" height=13 vAlign=top><IMG width=1 height=1></TD>
<TD style="WIDTH: 15px;BACKGROUND: url(/images/flowers/page-upper-right.gif) no-repeat;HEIGHT: 13px" height=13 vAlign=top width=15><IMG width=1 height=1></TD>
</TR>

<TR>
<TD style="WIDTH: 17px;BACKGROUND: url(/images/flowers/page-left.gif) repeat-y" vAlign=top width=17><IMG width=1 height=1></TD>
<TD>
<TABLE style="BORDER-COLLAPSE: collapse;WIDTH: 906px;" border=0 cellSpacing=0 cellPadding=0 VALING=top>
<TR>
<TD colspan=”2” style=”WIDTH:906px;” ALIGN=center >kdsfjdjfk</TD>
</TR>

<TR>
<TD colspan=”2” style=”WIDTH:906px;” ALIGN=center >isdfkjkdsf</TD>
</TR>

<TR>
<TD style=”WIDTH:150px;” ALIGN=left >sdkfdskjf</TD>
<TD style=”WIDTH:756px;” ALIGN=left >kdfjdskfj</TD>
</TR>
</TABLE>
</TD>
<TD style="WIDTH: 15px;BACKGROUND: url(/images/flowers/page-right.gif) repeat-y" vAlign=top width=15><IMG width=1 height=1></TD>
</TR>

<TR>
<TD style="WIDTH: 17px;BACKGROUND: url(/images/flowers/page-down-left.gif) no-repeat;HEIGHT: 17px" height=17 vAlign=top width=17><IMG width=1 height=1></TD>
<TD style="BACKGROUND: url(/images/flowers/page-down-middle.gif) repeat-x;HEIGHT: 17px" height=17 vAlign=top>
<P>&nbsp;</P></TD>
<TD style="WIDTH: 15px;BACKGROUND: url(/images/flowers/page-down-right.gif) no-repeat;HEIGHT: 17px" height=17 vAlign=top width=15><IMG width=1 height=1>
</TR>
</TBODY>

</BODY>
But... it looks like this:
http://i1086.photobucket.com/albums/j447/Mejse78/skitse1.png
(Without the borders arround the <TD> of corse.

Can anyone help me with this simple, but troubelling matter?