Problems with XHTML

j79zlr

Glaanies script monkey
Political User
Joined
Feb 16, 2003
Messages
2,725
#2
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>
 

~bk

I
Political User
Joined
Nov 3, 2003
Messages
3,768
#3
I have closed the <td> <tr> tags in order. I even corrected the <center> but it still show 4 errors.
 

j79zlr

Glaanies script monkey
Political User
Joined
Feb 16, 2003
Messages
2,725
#6
<td class="nav" valign="top"> is not closed before <td valign="top">
 

SPeedY_B

I may actually be insane.
Joined
Mar 31, 2002
Messages
15,800
#7
<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 :D
 

j79zlr

Glaanies script monkey
Political User
Joined
Feb 16, 2003
Messages
2,725
#9
remove the <p></p> around the div, it cannot be nested in there.
 

~bk

I
Political User
Joined
Nov 3, 2003
Messages
3,768
#10
Wohoo! Thanks for your yelp SPeedY_B and j79zlr. Really Appreciated it.


P.S. What do you guys think of the layout?
 

SPeedY_B

I may actually be insane.
Joined
Mar 31, 2002
Messages
15,800
#11
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
 

~bk

I
Political User
Joined
Nov 3, 2003
Messages
3,768
#12
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?
 

Members online

No members online now.

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Hey ep!

All good with me, applying for microsoft mvp right now, should have done this a while ago.

Notifications don't work, I only found your response by comming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier, mine is perriscalderon at gmail
Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...

Forum statistics

Threads
62,038
Messages
673,569
Members
89,037
Latest member
Samhicks