Re: Suggestion for FRAME code extension

David Perrell (davidp@earthlink.net)
Fri, 16 Aug 1996 19:04:20 -0700


Message-Id: <199608170204.TAA13057@denmark.it.earthlink.net>
From: "David Perrell" <davidp@earthlink.net>
To: "Gail Gurman" <gailg@sybase.com>, <www-html@w3.org>
Subject: Re: Suggestion for FRAME code extension
Date: Fri, 16 Aug 1996 19:04:20 -0700


Gail Gurman wrote:
> The rows and cols attributes of the <frameset> code allows, as I
> understand it, specific pixel numbers, percentages, and '*'. I'd
> like to see another option, though I'm not sure how it should be
> indicated.
> 
> What I think is needed is a way of indicating that a particular
> frame should size itself to the length or width of the source it
> contains. This would be useful when the frame source for one frame
> is very short or narrow.

I'm afraid what you're asking for is impractical, since the browser
would not be able to display anything until all frame content was
read, parsed, and evaluated. But three more practical solutions come
to mind:

(1) Convert the text into bitmaps and set the frame size in pixels.

(2) Use a style sheet and specify your font size in pixels so it
won't resize for different displays.

(3) Specify frame measurements in points and ems. Ems would be
relative to the default paragraph text size in the browser. That way
the frame would expand or contract predictably. Point measurements
would be useful if you specified your font with a style sheet.

#1 works with any frame-aware browser. #2 works with MSIE 3. #3 is
only a hope.
 
David Perrell