ZenphotoCMS Forum
Page Has 1 Validation Error - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Page Has 1 Validation Error (/thread-1357.html)



Page Has 1 Validation Error - KaizenMaven - 2007-04-10

Hi, I have been tweaking my site with zenphoto and for some reason I have a page that has 1 validation error and I can't seem to pinpoint it. It seems to be being generated from ZP's php code because it's not in plan sight within the HTML code.

Here is the link: http://nezik.com/boudyphotos/zenphoto/index.php

Also I tweaked the code from XHTML 1.0 Strict to HTML 4.0 Strict. Thank you for your help




Page Has 1 Validation Error - trisweb - 2007-04-10

For some reason the `` (zp-generated code) is inside a SPAN (wrapping a call to the navigation template function somewhere). A DIV (block-level element) is not allowed to be in a SPAN (inline element). Just remove the SPAN, it should work exactly the same without it. :-)

Also, you should be able to do 4.01 strict for the same markup... it doesn't look XHTML 1.1 trans though. I think that's ZP's fault, I'll look into it.




Page Has 1 Validation Error - KaizenMaven - 2007-04-10

Tris, thank you. This did work. I knew that pagelist class was being generated from zp, I just deleted what to start deleting code and messing stuff up.

Doing 4.01 Strict was very simple, all I really had to do was change the DT out and take out the uneeded /'s. Again, thanks for the help.




Page Has 1 Validation Error - trisweb - 2007-04-10

Great! Glad it's working for you.