[SOLVED] XHTML and Css Validation

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
klendino
Forum Members
Forum Members
Posts: 67
Joined: Wed Oct 19, 2005 8:22 pm

[SOLVED] XHTML and Css Validation

Post by klendino »

I have a site running and can not XHTML vaildate all pages. The problem comes on the pages where I used the news module.
Furthermore, CSS vaildation gives me an internal server error. ???

Anyone has suggestions how to improve the coding of the pages?


Info:
CMSMS 1.1.3.1
PHP 4.4.1
Mysql 4.1.11
http://www.ilovemyislanddog.org/
http://www.ilovemyislanddog.org/index.p ... =adoptions => page that doesn't validate
Last edited by klendino on Thu Oct 25, 2007 7:11 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: XHTML and Css Validation

Post by Dr.CSS »

Have you tried setting the internal pretty URLs in config.php?...

#------------
#URL Settings
#------------

#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$config['assume_mod_rewrite'] = false;

#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = ' ';

#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism?  This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = true;

#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy?  (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = true;  this one is for the modules like news

#If using none of the above options, what should we be using for the query string
#variable?  (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = '.html';
User avatar
klendino
Forum Members
Forum Members
Posts: 67
Joined: Wed Oct 19, 2005 8:22 pm

Re: XHTML and Css Validation

Post by klendino »

:D Solved the XHTML validation process by playing around with the config.php settings as suggested.
Had to clean up html coding of the pages. Site is finally xhtml 1.0 compliant.

CSS validator still gives me an internal server error on their page, so I guess some inconsitency still exists in my css files.
Any ideas, suggestions?

Cheers
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: XHTML and Css Validation

Post by Dr.CSS »

Try removing the album style sheet, you may have to go to Album and on the options tab unclick the Auto Link Stylesheet:...
Last edited by Anonymous on Thu Oct 25, 2007 5:16 pm, edited 1 time in total.
User avatar
klendino
Forum Members
Forum Members
Posts: 67
Joined: Wed Oct 19, 2005 8:22 pm

Re: XHTML and Css Validation

Post by klendino »

Thanks Mark for your valuable help as always  ;)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [SOLVED] XHTML and Css Validation

Post by Dr.CSS »

So I take it the Album CSS doesn't pass validation... hmmm
Post Reply

Return to “Layout and Design (CSS & HTML)”