Brachole
06-21-2008, 11:30 AM
I wrote this application in ASP for my client so he can write articles, using a Rich Text Editor. I allow him to upload images to the server and insert them into his article. Problem is that the client doesn't know how to control the width of his images.
For example, the Body of the Article's page has a table with a <td> width of 690 pixels. However, the client could be inserting an image that's 900 pixels wide, which screws up the layout of the page.
Any way I can lock that cell so even if the image is wider than what the cell's width is set to, it won't expand?
Here's an example of my table:
<table width="1000">
<tr>
<td width="189">Verticle Navigation goes here...</td>
<td width="690">Article goes here...</td>
</tr>
</table>
For example, the Body of the Article's page has a table with a <td> width of 690 pixels. However, the client could be inserting an image that's 900 pixels wide, which screws up the layout of the page.
Any way I can lock that cell so even if the image is wider than what the cell's width is set to, it won't expand?
Here's an example of my table:
<table width="1000">
<tr>
<td width="189">Verticle Navigation goes here...</td>
<td width="690">Article goes here...</td>
</tr>
</table>