carpetpaul
11-06-2004, 03:44 AM
I've been trying to create a page with many small table cells within which I'm going to put images, a bit like a page full of thumbmnails, however, now that the table is created, I've realised my mistake. With my browser window in its initial state, I like the dimensions of the cells. If I change the browser window size, ie add/remove the favourites column, the table stretches out of propertion due to me having used percentage of browser display width to govern cell width.
My question id this, when I have the broser window displaying the table in the position that I would like it to be fixed at, how do I measure each cells width in pixels so that I can alter my code and keep exactly the dimensions I see.
I had thought about putting images into a cell (sized in pixels), then gradualy incresing the size to discover the size that the table cell is in pixels, surely there is a better way ?
My question id this, when I have the broser window displaying the table in the position that I would like it to be fixed at, how do I measure each cells width in pixels so that I can alter my code and keep exactly the dimensions I see.
I had thought about putting images into a cell (sized in pixels), then gradualy incresing the size to discover the size that the table cell is in pixels, surely there is a better way ?