Is there a way to make all cells left aligned? By default, headers are centered, text is left, and dates/numbers are right aligned.

Comments

cursor’s picture

+1. I want to align all columns top like valign:top. How does one do that?

cursor’s picture

Status: Active » Fixed

Answering my own question:

Edit the views-data-export-xls-header.tpl.php in the theme directory of views_data_export and add the following:

<style>
TD {vertical-align: top;}
</style>

mortona2k: you should be able to do the same by using align: left; instead of vertical-align like this:

<style>
TD {align: left;}
</style>
johnv’s picture

Status: Fixed » Closed (works as designed)

When searching for this topic, this new status seems more suited.