Views outputs this in list mode:
<div class="item-list"><ul><li><div class='view-item view-item-products'><div class='view-field view-data-node-title'><a href="/~robert/drupal/product/5">Phone</a></div><div class='view-field view-data-node-data-field-subtitle-field-subtitle-value'>Example product</div><div class='view-field view-data-node-data-field-thumbnail-field-thumbnail-fid'><img src="http://localhost/~robert/drupal/files/imagecache/thumb/files/images/phone2_0.jpg" alt="phone2.jpg" title="phone2.jpg" /></div></div>
</li></ul></div></div></div>
As you can see it outputs code for apostrophe instead of quotation. As a result, it messes things up for CSS, i can't select the view-item div.
I'm using drupal 5.7. Please tell me if there's a workaround for this thing...
Comments
Comment #1
merlinofchaos commentedI've never heard of anyone not being able to select the view-item. All of my research indicates that single quotes are valid in both HTML 4.01 and X-HTML. div.view-item and div.view-item-products will both properly reference those divs.
http://www.featureblend.com/xhtml-attribute-quotes.html
http://www.w3schools.com/HTML/html_attributes.asp
Comment #2
Robert_K commentedYou're right. Problem was in my CSS. Thanks and sorry for bugging you :)