|
|
 |
RE: FN-FORUM: [CSS] Freezing thead
date posted 20th August 2003 22:30
On a slightly different tangent...
For a table layout;
The columns will adjust to the widths of the contents (if you define it
that way)
But trying to do the same thing with CSS;
Doesn't because the 2 inner divs are treated as completely separate
things
How do you get CSS to do that, i.e., not specifiy the widths - either as
an exact width or a %
Cheers
Andy
-----Original Message-----
From: Nick Grimshaw [EMAIL REMOVED]
Sent: Wednesday, August 20, 2003 9:19 PM
To: Andy Macnaughton-Jones
Subject: RE: FN-FORUM: [CSS] Freezing thead
Antony:
> column alignment would be a pain, besides it should work using=20
> overflow on the tbody but ie doesn't do it... poo
Actually, it shouldn't work.
http://www.w3.org/TR/REC-CSS2/visufx.html#overflow says that overflow
applies to 'block-level and replaced elements', of which a is
neither. I don't think there's any (sensible) way of doing it, which is
especially stupid given that the HTML standard rattles on about 'This
division [of tables into thead, tbody and tfoot] enables user agents to
support scrolling of table bodies independently of the table head and
foot.' (from http://www.w3.org/TR/html4/struct/tables.html#rowgroups )
- Nick Grimshaw
{ if you're not part of the solution, you're part of the precipitate. }
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
redmail.com - webmail with a difference!
10Mb for just GBP 9.99 a year. Launch special 1Gb for GBP 99.99 a year
IMAP, POP3, Spam Filtering and Anti Virus as standard. Visit
http://www.redmail.com/?fl-signup to join.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|