Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues
Author Message
jib_intelli
Hangin' Around



Joined: Aug 17, 2004
Posts: 43

PostPosted: Tue Sep 02, 2008 2:29 pm Reply with quote

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?

_________________
PottersRealm.com ~ Harry Potter Everything! 
View user's profile Send private message
wHiTeHaT
Life Cycles Becoming CPU Cycles



Joined: Jul 18, 2004
Posts: 579

PostPosted: Wed Sep 03, 2008 10:45 am Reply with quote

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
 
View user's profile Send private message Send e-mail
wHiTeHaT







PostPosted: Wed Sep 03, 2008 10:59 am Reply with quote

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 ;
 
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Wed Sep 03, 2008 11:50 am Reply with quote

You only need a semi-colon to separate things in CSS, it isn't used as a terminator like in PHP or C/C++.

_________________
GCalendar - An Event Calendar for PHP-Nuke
Member_Map - A Google Maps Nuke Module 
View user's profile Send private message
wHiTeHaT







PostPosted: Wed Sep 03, 2008 12:35 pm Reply with quote

Goto [ Only registered users can see links on this board! Get registered or login! ] 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


Last edited by wHiTeHaT on Thu Sep 04, 2008 10:17 am; edited 1 time in total 
Gremmie







PostPosted: Wed Sep 03, 2008 3:28 pm Reply with quote

I'm surprised the w3 validator trips on that, but go read the spec Whitehat, they are not required.
 
Gremmie







PostPosted: Wed Sep 03, 2008 3:32 pm Reply with quote

Try a different validator jib_intelli. Smile

I glanced at your output and I didn't understand it either.
 
wHiTeHaT







PostPosted: Thu Sep 04, 2008 10:14 am Reply with quote

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.
 
Gremmie







PostPosted: Thu Sep 04, 2008 10:56 am Reply with quote

Ah, good catch!
 
jib_intelli







PostPosted: Sun Sep 07, 2008 10:23 pm Reply with quote

Thanks!! I'll try it out!
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©