Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2010 at 07:37 UTC
Updated:
8 Apr 2011 at 21:42 UTC
Hi,
I testes my site on http://validator.w3.org and get's the error: "document type does not allow element "div" here" :
The reason are the blog teaser on the ride side of my page.
regards
Jan
Comments
Comment #1
jacineThis is likely a result of code in your nodes.
The theme itself validates.
Comment #2
knarzer77 commentedI just noticed that reason comes from the views modul. I have a view which shows the last blog entries with the caption and a teaser (html list). So the code is for instance:
I seems the code is not XHTML conform.
Jan
Comment #3
dawehnerThis div in the space, comes from cck. You can always theme views to make it working.
@knarzer77
assigned means, you are working at this issue.knarzer77
Comment #4
merlinofchaos commentedActually, that span comes, I think, because you have selected to display the field as inline in the style settings. You need to unselect that.
Comment #5
knarzer77 commentedHi,
thank you. It's was really the inline setting in the views module. Unchecking this solved my problem.
regards
Jan
Comment #6
granttoth commentedSame problem here but I'm using Views Slideshow. I do not see the inline option in the style settings. Any Ideas?
UPDATE - Fixed. One set of my slideshow images was linking to the node by default and I had the link field to node checked resulting in one nested in another .