HTML Pasting?????

  •  02-26-2007, 3:24 PM

    HTML Pasting?????

    I am pasting the below HTML directly to the HTML window:

    <table border="0" cellspacing="0" cellpadding="2">
                  <tr>
                    <td width="100%"><span class="style1"> Entrees </span></td>

                    <td width="0"><div align="center">Entree</div></td>
                    <td width="0"><div align="center">Main</div></td>
                  </tr>
                  <tr>
                    <td width="100%"><strong> Varanasi SAMOSA Flavour Profile: Pomegranate and Cumin </strong></td>
                    <td width="0"><div align="center"></div></td>
                    <td width="0"><div align="center"></div></td>

                  </tr>
    </table>


    Granted its not the cleanest you have ever seen but when I submit it or go to normal view then back again the HTML looks like this:

    <table border="0" cellpadding="2" cellspacing="0"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <tbody> <tr> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <td width="100%"><span class="style1"> Entrees </span></td> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <td width="0"> <div align="center">Entree</div> </td> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <td width="0"> <div align="center">Main</div> </td> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </tr> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <tr> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <td width="100%"><b> Varanasi SAMOSA Flavour Profile: Pomegranate and Cumin </b></td> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <td width="0"> <div align="center"></div> <br></td> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <td width="0"> <div align="center"></div> <br></td> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </tr> </tbody> </table>

    Why oh why does it replace my whitespace with a non-breaking space???? It leaves the table looking rather BAD!

    Am I doing something wrong? I would have thought by pasting into the HTML view that my code would reamin UNALTERED?

View Complete Thread