HTML 4.0 frames -- marginheight and marginwidth

David Perrell (davidp@earthlink.net)
Mon, 22 Sep 1997 12:56:53 -0700


Message-Id: <199709222004.NAA08677@denmark.it.earthlink.net>
From: "David Perrell" <davidp@earthlink.net>
To: "HTML" <www-html@w3.org>
Date: Mon, 22 Sep 1997 12:56:53 -0700
Subject: HTML 4.0 frames -- marginheight and marginwidth

Regarding the MARGINHEIGHT and MARGINWIDTH attributes of FRAME and IFRAME in
the HTML 4.0 draft[1]--

The draft states: "The value must be greater than one pixel." Why? This
restriction is not presently in MSIE. Will it be added to conform to the spec?

It's sad that a formal standard must include ill-conceived elements; it's truly
pathetic when it formalizes a crippled implementation. Since this portion of
the draft is obviously pandering to Netscape's incompetence, perhaps "User
agents should _not_ render frames to precise pixel dimensions as specified"
should be added to the description of ROWS and COLS to discourage implementors
who might otherwise do an accurate rendering.

What are the CSS1 equivalents to MARGINHEIGHT and MARGINWIDTH? Default BODY
margins for the content, I would hope. Since each frame is a subwindow with its
own document, shouldn't the document within a frame be able to override the
default margins? If I have styled a document using CSS1 wherein graphics are
expected to 'bleed' (butt to the edge of the window), shouldn't that same
effect be obtainable within a frame?

David Perrell

[1] <http://www.w3.org/TR/WD-html40-970917/present/frames.html#h-17.1.2>