Hi
I'm having a problem using tables as a layout tool. My plan is to create a Master Page with a header, side bar and footer (fairly standard so far). I use a Template table to create this layout, although creating a similar table manually makes no difference to the outcome. In the side bar I then add another table, with one column and three rows. In the top row I add an Image tag (or the ASP control equivalent, again, it makes no difference). When I populate the image tag with an image, the width of the cell is increased to much wider than the image. For example, say I set the column width to 100px, add an image of 100px (or 250px, makes no difference), the column is now expanded to much wider than the image, say 500px. The image is not wider than it appears and if I try and set the image width to 100%, it just expands it to, say 500px rather than reduce the cell.
This seems such a simple thing and yet I've spent about 7 hours trying to figure this out, changing settings, searching Google etc. I'm familiar with HTML and can confirm there are no extra cells/columns etc, the HTML looks good. This is really sending me crazy.
EDIT: I just tried this again and got the same response. Whenever I add an image to the cell, it expands to xxx pixels wider and sends the neighbouring cell out to the right. Strangely, when I copy and paste the html to Dreamweaver, it formats the page as I would expect. I will try and get a copy of the html and post it here.
Start Free Trial