ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   pasting html table into excel (https://www.excelbanter.com/excel-discussion-misc-queries/225762-pasting-html-table-into-excel.html)

rodchar

pasting html table into excel
 
hey all,

i know the br selector works but i'm trying to get the p selector to behave
the same way but it's not working.

<HTML
<head
<style type='text/css'
br {mso-data-placement:same-cell;}
p {mso-data-placement:same-cell;}
</style
</head
<body
<Table border='1'
<tr
<td
Hello<br/World
</td

<td
<pHello</p
<pWorld</p
</td
</tr</Table
</body
</HTML

any ideas how to get the p tags to show up as one cell instead of 3?

thanks,
rodchar


All times are GMT +1. The time now is 04:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com