guys,

using DIV to show the view inside a node breaks the XHTML compliance. its because its not allowed to insert DIVs inside

or heading tags.

a solution is to use SPAN instead. since span differs from div because it is display css attribute is set as inline, the module should also include a css file with: ".view {display:block;}".

XHTML compliance is a requirement made by many clients.

best regards,

massa

Comments

mlsamuelson’s picture

Status: Active » Closed (won't fix)

The Insert View module simply passes along code generated by the Views module. I'm guessing that your issue should be addressed to the Views module.

mlsamuelson

garyh’s picture

Hi

To get around this problem wrap empty div tags around the call to your insert view statement.

<div>
[view:viewABC]
</div>

Gary

webel’s picture

@garyh Thanks for this tip, it works fine and solves lots of XHTML problems for me, Webel