Freepages-Help-L Archives

Archiver > Freepages-Help > 2010-09 > 1285083066


From: Billie Walsh <>
Subject: Re: [FreeHelp] Scrolling Table
Date: Tue, 21 Sep 2010 10:31:06 -0500
References: <4C975A10.2030307@swbell.net><6F560DF74F0A491AB85E58C614C381AC@BERT>
In-Reply-To: <6F560DF74F0A491AB85E58C614C381AC@BERT>


By playing around with the first one I came up with a test page

http://www.rootsweb.ancestry.com/~wyhotsp2/marriage/test3.htm

I'll definitely give the second one a try. I understand HTML much better
than I do XHTML. Style is still a bit of a mystery, but I'm working on
it. *<]:o)

On 09/20/2010 04:38 PM, Barry Carlson wrote:
> Billie
>
> The short piece of code I posted previously was only meant to give an
> idea of how a "div" could be made to hold the contents of a table and
> be told to scoll that part of the table that is hidden.
>
> I have taken the XHTML version at -
>
> http://freepages.rootsweb.com/~bristowe/test/fixed-header.html
>
> and created a simpler HTML version at -
>
> http://freepages.rootsweb.com/~bristowe/test/fixed-header-2.html
>
> The result is the same as the original, but all the ":nth-child"
> styles have gone, and most of the styles are now inline with a few
> exceptions where CSS makes it easier to target a number of cells. A
> "th" cell in the header has been given an "id", and the same for the
> bottom row of "td" cells in the data table.
>
> Just highlight, copy and paste the code in the bottom box to your text
> editor and save as a .html file. You will then have a working copy of
> the original without the additional Rootsweb mark-up.
>
> Let me know if you need any explanation regarding the styles.
>
> Barry


--
"A good moral character is the first essential in a man." George Washington


This thread: