Click here to get back home

How to keep the table a fixed size

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to keep the table a fixed size Danny 12-08-2004
Posted by Danny on December 8, 2004, 8:59 pm
Please log in for more thread options
Hello
I am trying to keep a table or row a fixed size.
I have a javascript that assigns different images to the SRC of the main
image, but the table will resize whne there is a smaller height image in
there sometimes.

I tried setting the height, but it seems to ignore it.

What to do?

Thanks




Posted by Mark Parnell on December 9, 2004, 1:10 pm
Please log in for more thread options
Previously in comp.infosystems.www.authoring.html, Danny

> Hello

G'day.

> I am trying to keep a table or row a fixed size.

Why?

--
Mark Parnell
http://www.clarkecomputers.com.au


Posted by Mark Tranchant on December 10, 2004, 9:14 am
Please log in for more thread options
Danny wrote:
> Hello
> I am trying to keep a table or row a fixed size.
> I have a javascript that assigns different images to the SRC of the main
> image, but the table will resize whne there is a smaller height image in
> there sometimes.

Why is it in a table cell anyway?

The easiest solution, but nasty, is to include a 1px wide transparent
GIF of the height you want before or after the switching image. This
will act as a prop for hold the cell to that height.

This is not the way to be designing pages in this century, however.
Describe why you're trying to do this, and we'll suggest alternatives.

--
Mark.
http://tranchant.plus.com/


Similar ThreadsPosted
Optimized table with fixed size cells? February 4, 2007, 5:17 pm
fixed image size February 12, 2007, 1:53 pm
size attribute of input element: characters not fixed width? January 30, 2005, 7:26 pm
fixed table cells January 23, 2007, 11:40 pm
table-layout "fixed" gets buffered in IE? May 22, 2005, 2:51 pm
table-Layout:fixed; ok for IE but not for FireFox June 11, 2008, 5:22 am
Displaying a scrollable table with fixed head? May 20, 2005, 5:18 pm
Table with Fixed Header not working after adding an onmouseover event February 2, 2006, 4:27 pm
table cell size July 21, 2004, 2:50 am
Restrict the Table TD size. September 24, 2004, 2:50 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap