Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- spreadsheet column width
June 22, 2008, 8:25 pm
rate this thread
requisite headers in place for content type and all that.
All I am doing is executing the SQL query and displaying the data
formatted in an HTML table.
Whatever width I assign to the HTML table columns ( using <td
width="nnn"> it doesn't have any impact on the width of the
spreadsheet column- that is always staying the same.
Any idea how to control it?
The headers I am using are as follows
header("Content-disposition: attachment; filename=report.xls");
Re: spreadsheet column width
This isn't really a php question. I would suggest asking it in one of :
microsoft.public.excel.misc or microsoft.public.excel.programming
I think you'll have more luck writing it out in XML format: