Freepages-Help-L ArchivesArchiver > Freepages-Help > 2004-05 > 1084023793
Subject: Re: Freepages-Help-D Digest V04 #146
Date: Sat, 08 May 2004 15:43:13 +0200
References: <200405072100.i47L0rEu001236@lists2.rootsweb.com> <409C0FE5.email@example.com> <firstname.lastname@example.org>
I've had a look at the source code for your pages, and think (?) I have
understood your problem. I should tell you that I have been doing this
for less than a year and only learned as much v simple html as would
enable me to do what I want. However, I've learned a few principles
with it, so this just MIGHT help you.
The page as it appears on any screen depends, for font size
particularly, on what fonts are installed on the client PC, as well as
the server, etc, and appearance varies according to client screen
Your DNA tables use fixed cell widths/heights, as does the entire table
which contains them, while your text has to flow freely around that
fixed - global - object. Therefore the relative position of the text to
the table will inevitably vary according to the screen definition and
font of the PC on which it is being viewed. If the screen is 800x600
then your charts will appear larger than on a 1024x768 or higher screen
definition, these mesures being in pixels, as are the fixed widths and
heights of your charts.
Fixed width values often cause difficulties if one is not absolutely
expert, and in any case diminish the appearance value due to variations
I have some ideas of how you could solve your problem, but could you
first tell me:
- do you have any image-making software, ie could you make an image from
each DNA chart, would that be acceptable for you or do you want them to
be active text?
It seems to me that what you need is to have each chart in the lefthand
cell of a table, and the text which refers to it in the righthand cell
of the table, ie a table of 2 cells to a row, and as many rows as there
are charts to comment on.
You could simply enclose your present table in an outer table of two
cells per row, but you would still have the problem of relative
positioning due to differences of definition, ie it is impossible (I
think) to mix fixed and relative positioning when the second is
If the width of the chart is fixed, and the size of the font is fixed,
and the client PC has a definition lower than you are using, then they
will have to change their viewing font size percentage to see your chart
as you made it.
If you change to variable positioning, then your table could have a
width of 100%, or less, eg 96% to allow a small margin, but without a
border around it.
Each cell width could be *%, ie variable, the chart should then fit
itself in on the screen, and the text in the adjacent cell would then
flow on-screen while remaining anchored next to the subject chart.
Let me know about the image, etc, if you don't have a better suggestion
> Dear Caroline,
> Being very much of a html newbie, I have to confess that I'm not sure
> what you mean by your suggestion, below. May I show you what I'd tried
> to do myself with this problem?
> I made a table using Excel, but when I try to save it as a webpage, it
> generates an enormous monstrosity, with columns grossly uneven:
> With my rudimentary skills, I was able to monkey around with the code
> and make the table look more or less okay, but then I can't wrap text
> around it:
> The culprit seems to be the:
> style='border-collapse: collapse;table-layout:fixed'
> in the:
> <table border=0 cellpadding=0 cellspacing=0 align=left width="45%"
> style='border-collapse: collapse;table-layout:fixed'>
> When I remove it, however, I can now wrap text, but the formatting of
> the table goes bad again:
> Do you have any ideas on how I can preserve the normal look of the
> table and still get the explanatory text to wrap?
> Thanks at lot.
>> Hallo Dale,
>> You'll probably get some more useful replies, but in case not, my
>> suggestion (since Roots Freepages doesn't support Frames, as I have
>> Make a second column to your table, then use 'rowspan=(number of
>> rows)' for the text to appear agains the appropriate number of rows
>> of data.
>> My good wishes,
>>> Date table on left, text of running commentary on right
>>> Fri, 7 May 2004 15:55:10 -0400
>>> Hi, I am trying to create a webpage in which a rather narrow
>>> vertical table showing DNA results appears on the left hand side
>>> (I've already created this) and meanwhile text progressively
>>> commenting on the table runs down the immediate right-hand side of
>>> the page. I've been able to find instructions on how to have text
>>> appear to the side of images, but the table is not an image, it was
>>> created using html. Can anyone give me some advice on how to set
>>> this up? I've looked at other people's DNA-related websites for
>>> ideas, but every site I've looked at so far (quite a few) has a
>>> small table followed up a some explanatory text relating to that
>>> table, then another small table, then some more explanatory text,
>>> and so on. That's not what I want to do.
>>> Thanks very much for any pointers.
>>> Dale Bricker