Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM: [CSS] Freezing thead - now 'Expandable columns in CSS'

date posted 21st August 2003 10:05

Ta, I'll give it a go=20

-----Original Message-----
From: Luke Perman [EMAIL REMOVED]
Sent: 21 August 2003 09:41
To: Andy Macnaughton-Jones
Subject: Re: FN-FORUM: [CSS] Freezing thead - now 'Expandable columns in
CSS'


hi andy,

just do this:

in the head of your document put:



then in the body have:

content here content here content=20
here

... and repeat for as many rows as you want ....

you could put all the rows inside another DIV if you really wanted to,=20
i.e. if you want to absolutely position the whole lot somewhere on the=20
screen, but the best way to toggle the width of everything is simply to=20
change the 'width' attribute of the .row CSS to something fixed, and=20
then play with the % widths of each span class.

i just added the background colours so that it is easy to see what is=20
happening...

**note that the 'last' span has no 'float' attribute assigned to it!**

hmmm.... time for coffee methinks

luke



On Wednesday, August 20, 2003, at 11:02 PM, Andy Macnaughton-Jones=20
wrote:

>
> 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=20
> 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
>> 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
>
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3Dredmail.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
>
>=20
=3D=3D=3Dredmail.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



Messages by Day
August 31st 2003
August 30th 2003
August 29th 2003
August 28th 2003
August 27th 2003
August 26th 2003
August 25th 2003
August 24th 2003
August 23rd 2003
August 22nd 2003
August 21st 2003
August 20th 2003
August 19th 2003
August 18th 2003
August 17th 2003
August 16th 2003
August 15th 2003
August 14th 2003
August 13th 2003
August 12th 2003
August 11th 2003
August 10th 2003
August 9th 2003
August 8th 2003
August 7th 2003
August 6th 2003
August 5th 2003
August 4th 2003
August 3rd 2003
August 2nd 2003
August 1st 2003


Messages by Month
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003


Messages by Year
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000