pasting html table into excel

R

rodchar

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>
<p>Hello</p>
<p>World</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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top