Author |
Message |
jib_intelli
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 17, 2004
Posts: 43
|
Posted:
Tue Sep 02, 2008 2:29 pm |
|
Hi All,
Kindly visit the following link:
Code:http://validator.w3.org/check?uri=http%3A%2F%2Fwww.pottersrealm.com%2FPotter2%2Fforums.html?charset=(detect+automatically)&doctype=Inline&ss=1&group=0&verbose=1&accept=text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2C*%2F*%3Bq%3D0.8&accept-language=en-us%2Cen%3Bq%3D0.5&accept-charset=ISO-8859-1%2Cutf-8%3Bq%3D0.7%2C*%3Bq%3D0.7&user-agent=W3C_Validator%2F1.591#line-1001
|
There are 17 errors in my forums template, which are stumping me. Can someone guide me as to what is wrong with the forums template? |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wHiTeHaT
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jul 18, 2004
Posts: 579
|
Posted:
Wed Sep 03, 2008 10:45 am |
|
MMM
could you try to take out the comma's for the birthday listings..
As your output say's:
Users with a birthday within the next 7 days: Fire_Wand (16), george_Weasley (16), Hnydukes2 (26), PureBloodKing (19), revanuk (30) ,
somehow i have a feeling it comes couse of using " , " between the a tag's
Grtzzz wHiTeHaT |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wHiTeHaT
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Sep 03, 2008 10:59 am |
|
I checked again and see whyyou have error ,
You should check the style attribute what is colored green :
u used:
style="color:#006600"
But it must be:
style="color:#006600;"
As you can see youforgot ; |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Gremmie
Former Moderator in Good Standing
![](modules/Forums/images/avatars/0cd76dcf45da5de2cf864.jpg)
Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Wed Sep 03, 2008 11:50 am |
|
You only need a semi-colon to separate things in CSS, it isn't used as a terminator like in PHP or C/C++. |
_________________ Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wHiTeHaT
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Sep 03, 2008 12:35 pm |
|
Goto http://validator.w3.org/#validate_by_input and copy/paste:
Code:<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Forums - Harry Potter and his Magical World - PottersRealm.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="EXPIRES" content="0" />
<meta name="RESOURCE-TYPE" content="DOCUMENT" />
<meta name="DISTRIBUTION" content="GLOBAL" />
<meta name="AUTHOR" content="PottersRealm.com" />
<meta name="COPYRIGHT" content="Copyright (c) by PottersRealm.com" />
<meta name="KEYWORDS" content="Raven" />
<link rel="StyleSheet" href="themes/DeathlyHallows/style/style.css" type="text/css" />
</head>
<body bgcolor="#000000">
<div class="row1" align="left">
<span class="gensmall">Users with a birthday today: <a href="forum-userprofile-729.html">Ginny_Lavender (26)</a> <br />
Users with a birthday within the next 7 days: <a href="forum-userprofile-741.html">Fire_Wand (16)</a> <a href="forum-userprofile-1677.html">george_Weasley (16)</a> <a href="forum-userprofile-232.html">Hnydukes2 (26)</a> <a href="forum-userprofile-340.html"style="color:#006600"><b>PureBloodKing</b> (19)</a> <a href="forum-userprofile-840.html">revanuk (30)</a>
</span>
</div>
</body>
</html>
|
After check:
Code:<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Forums - Harry Potter and his Magical World - PottersRealm.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="EXPIRES" content="0" />
<meta name="RESOURCE-TYPE" content="DOCUMENT" />
<meta name="DISTRIBUTION" content="GLOBAL" />
<meta name="AUTHOR" content="PottersRealm.com" />
<meta name="COPYRIGHT" content="Copyright (c) by PottersRealm.com" />
<meta name="KEYWORDS" content="Raven" />
<link rel="StyleSheet" href="themes/DeathlyHallows/style/style.css" type="text/css" />
</head>
<body bgcolor="#000000">
<div class="row1" align="left">
<span class="gensmall">Users with a birthday today: <a href="forum-userprofile-729.html">Ginny_Lavender (26)</a> <br />
Users with a birthday within the next 7 days: <a href="forum-userprofile-741.html">Fire_Wand (16)</a> <a href="forum-userprofile-1677.html">george_Weasley (16)</a> <a href="forum-userprofile-232.html">Hnydukes2 (26)</a> <a href="forum-userprofile-340.html" style="color:#006600;"><b>PureBloodKing</b> (19)</a> <a href="forum-userprofile-840.html">revanuk (30)</a>
</span>
</div>
</body>
</html>
|
Grtzz wHiTeHaT ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
Last edited by wHiTeHaT on Thu Sep 04, 2008 10:17 am; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Gremmie
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Sep 03, 2008 3:28 pm |
|
I'm surprised the w3 validator trips on that, but go read the spec Whitehat, they are not required. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Gremmie
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Sep 03, 2008 3:32 pm |
|
Try a different validator jib_intelli.
I glanced at your output and I didn't understand it either. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wHiTeHaT
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Sep 04, 2008 10:14 am |
|
It wasnt only the semicolon, he also didnt spaced out the a tag attribute.
in my failure example i added spacer myself , i assumed when he fix he would see ...
He did:
<a href="forum-userprofile-340.html"style="color:#006600">
[EDIT]
I must appolegize , in my failure example i didnt pasted the code correctly between the code tags.
Gremmie you are right abouth the semicolon , the only bug was the spacer for the a tag attribute , anyway , the topic starter is now able to fix his site. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Gremmie
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Sep 04, 2008 10:56 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jib_intelli
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Sep 07, 2008 10:23 pm |
|
Thanks!! I'll try it out! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|