A Unique Developer

tag create seperate row in exported excel

Exporting data into excel sheet with HTML
tag creates separate row which really cause problem sorting excel column when there are multiple column. After doing lots of googling I found really simple solution which will line break in excel cell in spite of creating separate row.

Add following css definition in header section and it will solve your problem.