I have been working with a View and I noticed an inconsistency in the way fields are output (unformatted list).
Most of the fields appear below their labels, but one (Post date) appears on the same line.
I looked at the source and I saw that the date was wrapped in a span
and the other fields were wrapped in a div
:
<div class="views-field views-field-field-last-name">
<span class="views-label views-label-field-last-name">Last Name: </span>
<div class="field-content">Thacker</div>
</div>
<div class="views-field views-field-created">
<span class="views-label views-label-created">Post date: </span>
<span class="field-content">Wednesday, April 9, 2014 - 14:39</span>
</div>
Why is this happening? Is it important for this to happen? How can I change this so that everything is wrapped in a div
?