I've determined that I have an extra blank line above/below a field as output by views2. The generated html code examination shows a set of paragraph tags enclosing the field. I can find nowhere within this view to suppress that output. Is there a way either within views2 or via some css attribute?


You could go through the effort of overriding the template for that field, or you could just target the p tag with css and set the margins to 0px.

Views adds pretty granular classes to every field and row to make it easy to target.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.