Views rewrite output including the wrapper divs? I have 3 fields in a view and I want to rewrite the output in a fourth field.
like this

[field1][field2][field3][field4]


But I want to have a wrapper div around each field like in the field settings.
The problem is I could do something like this:

&lt;div class="mywrapper"&gt;
  &lt;div class="field1"&gt;[field1]&lt;/div&gt;
  &lt;div class="field3"&gt;[field2]&lt;/div&gt;
  &lt;div class="field3"&gt;[field3]&lt;/div&gt;
  &lt;div class="field4"&gt;[field4]&lt;/div&gt;
&lt;/div&gt;


But with this even if the field is empty the divs with the css classes will stay alive.
I dont want that. If the field is empty dont display it with the &lt;div&gt;.

If I just display the field, there are no wrappers at all.
I found the answer myself. I use the modul views_fieldsets.