View Single Post
Old September 24th, 2003, 07:21 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi Praveen,

The problem with table widths is that the browser will see the width as a recommendation. This means that when it needs more room for content, it will just take more room.

There are a couple of ways around this. You can use CSS to force the width of the table columns. Alternatively, you can add spacer images to the first or last cell of each column to force the width. Using spacer images is considered "bad practice" and "old skool" but if you need to support older browsers as well, it's a viable solution, IMO.

Take a look at the following article:

You may want to follow the 4 links / examples on this page as they show you a couple of solutions.

If that doesn't help, please post your table with content, so we can take a look at it.



Imar Spaanjaars
Everyone is unique, except for me.