Problems with XHTML

The <center> tag needs to be closed after the open <a href></a> tag, not before it. P.S. I'm not 100% sure if <center> is valid XHTML?

also you need to close your <td> and <tr> tags,

Proper format:

Code:
<table>
  <tr>
    <td>
    </td>
  </tr>
</table>
 
I have closed the <td> <tr> tags in order. I even corrected the <center> but it still show 4 errors.
 
<td class="nav" valign="top"> is not closed before <td valign="top">
 
<div style="text-align:center;"> shizz </div>

Or if you're trying to center the main content ..

<body>
<div style="
width:500px;background-color:white;height:200px;text-align:left;margin-left:auto; margin-right:auto;border:1px black solid;padding:10px;">
site
</div>
</body>

and in your css you need

body {
font-family: verdana, arial, sans-serif;
font-size : 12px;
color: #000000;
background-color:#D5E7B2;
text-align:center;
}


Important bits in bold, other bits are just demonstration 😀
 
Still 1 error left. Sorry, im a beginner 😀
 
remove the <p></p> around the div, it cannot be nested in there.
 
Wohoo! Thanks for your yelp SPeedY_B and j79zlr. Really Appreciated it.


P.S. What do you guys think of the layout?
 
Your link on the splash page is wrong: http://daark870621345/deviantart.com I believe the forward-slash should be a dot/period 🙂

Other than that, it's nice and clean, although I think the menu links on the left could do with shuffling right slightly, stop them being close to the edge, so to speak.
padding-left:5px; should work
 
SPeedY_B said:
Your link on the splash page is wrong: http://daark870621345/deviantart.com I believe the forward-slash should be a dot/period 🙂

Other than that, it's nice and clean, although I think the menu links on the left could do with shuffling right slightly, stop them being close to the edge, so to speak.
padding-left:5px; should work

Thanks SPeedY_B. I'll make the corrections. Your site is pretty good. Can I link you on my site?
 
Thanks 😀.

P.S. Thanks for adding me.
 

Members online

No members online now.

Forum statistics

Threads
62,021
Messages
673,242
Members
5,641
Latest member
cpomd
Back
Top