Member
Member
KaizenMaven   2007-04-10, 02:25
#1

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

Developer
Developer
trisweb   2007-04-10, 05:50
#2

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.

Member
Member
KaizenMaven   2007-04-10, 16:02
#3

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.

Developer
Developer
trisweb   2007-04-10, 16:38
#4

Great! Glad it's working for you.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.