set style differently in exportable to support Firefox