Velocity Reviews > HTML > Design Questions (Widths, Rowspan)

# Design Questions (Widths, Rowspan)

J
Guest
Posts: n/a

 04-05-2006

3 specific questions referring primarily to fixed-width columns within
fixed-width tables:

1. For calculating fixed column widths, I found some math online:

cellpadding * columns * 2 + cellspacing * (columns + 1) + borders *
(columns + 1) =
full table width

I would appreciate any feedback as to whether this is correct/reliable.

2. I have heard that leaving one column with width undefined is good
web design practice. Would someone confirm/refute this claim?

3. What is the best way to specify "rowspan" when you have a column
which continually changes height with updates, and the adjacent column
has a fixed number of rows? I initially thought that "rowspan=0" would
be correct but it appears this isn't universally supported.

Thanks in advance.

John

Neredbojias
Guest
Posts: n/a

 04-05-2006
To further the education of mankind, "J" <(E-Mail Removed)> declaimed:

>
> 3 specific questions referring primarily to fixed-width columns within
> fixed-width tables:
>
> 1. For calculating fixed column widths, I found some math online:
>
> cellpadding * columns * 2 + cellspacing * (columns + 1) + borders *
> (columns + 1) =
> full table width
>
> I would appreciate any feedback as to whether this is correct/reliable.

Considering the vagaries of and inconsistencies between various browsers, I
doubt the formula would yield perfect results for all.

> 2. I have heard that leaving one column with width undefined is good
> web design practice. Would someone confirm/refute this claim?

Dunno for sure, but probably not because tables are for tabular data which
most often fully defined.

> 3. What is the best way to specify "rowspan" when you have a column
> which continually changes height with updates, and the adjacent column
> has a fixed number of rows? I initially thought that "rowspan=0" would
> be correct but it appears this isn't universally supported.

Probably the normal way. You just have to live with the changing height or
design a better page without tables.

--
Neredbojias
Infinity can have limits.

 Thread Tools

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are Off Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post TomTom MCSD 2 10-09-2004 07:38 AM dave Java 5 07-17-2004 12:58 PM ZackS VHDL 5 07-09-2004 07:51 AM Patrick Michael A+ Certification 0 06-16-2004 04:53 PM SpamProof Java 3 12-01-2003 06:06 AM

Advertisments