W3C home > Mailing lists > Public > www-style@w3.org > October 1997

Re: WD-positioning-19970819

From: Chris Lilley <Chris.Lilley@sophia.inria.fr>
Date: Tue, 14 Oct 1997 23:34:19 +0200 (MET)
Message-Id: <9710142334.ZM2621@grommit.inria.fr>
To: Ralph Risch <Ralph_Risch@astrobyte.com>, www-style@w3.org
On Oct 14,  2:59pm, Ralph Risch wrote:

> I observe that CSS positioning of HTML elements could be used in the place
> of frames

Yes, to an extent, with the proviso that all the content is in a single

> if an element could be "named"

It can, either by using <a name="whatever"> </a> or by using the HTML 4.0 ID
attribute on any element

> and an HREF from another element
> could reference that name.

Yes. That has been in HTML since the beginning.

> This would allow the arbitrary positioning of
> "frame" boxes that reference other boxes (e.g., a table of contents).

Yes. The advantage being that downlevel browsers still get to see the
table of contents, but positioned in the main flow of the document.

> Will this be possible?

It already is. Try it. This sort of CSS:

DIV.sidebar {
  position: absolute;
  left: 10px; top: 10px;
  width: 150px
DIV.main {
  margin-left: 180px;
  backkground: url(foo.jpg);

This sort of HTML:

<div class=sidebar>
<h1>Table of Contents</h1>
<ul><li><a href="#one">One</a>
<ul><li><a href="#two">Two</a>
<ul><li><a href="#three">Three</a>

<div class=main>
<h1>Suitable document heading</h1>
<h2><a name=one>Item One</a></h2>
<p>text text text text text text

<h2><a name=two>Item Two</a></h2>
<p>text text text text text text

<h2><a name=three>Item Three</a></h2>
<p>text text text text text text

Chris Lilley, W3C                          [ http://www.w3.org/ ]
Graphics and Fonts Guy            The World Wide Web Consortium
http://www.w3.org/people/chris/              INRIA,  Projet W3C
chris@w3.org                       2004 Rt des Lucioles / BP 93
+33 (0)4 93 65 79 87       06902 Sophia Antipolis Cedex, France
Received on Tuesday, 14 October 1997 17:34:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:45 UTC