W3C home > Mailing lists > Public > www-style@w3.org > June 1999

Re: Style and <frameset>

From: (wrong string) åkon Wium Lie <howcome@operasoftware.com>
Date: Sat, 12 Jun 1999 08:41:31 -0400 (EDT)
Message-Id: <199906121241.OAA08596@stovner.sys.sol.no>
To: www-style@w3.org
Nicolas Lesbats wrote:

 > Today, frames and tables are very used for styling web pages. Of
 > course, this doesn't allow to separate content and style. Have anyone a
 > kind of ideal, workable solution to solve the problem ?

Tables and frames in themselves are not the problem -- the problem
arises when tables and frames show up in the markup.

CSS2 supports tables and frames-like layouts in style sheets. Here's a
simple example of how to present using tables -- but without table
elements:

  <HTML>
  <STYLE>
    UL { display: table-row }
    LI { display: table-cell }
  </STYLE>
  <BODY>
    <UL>
      <LI>first list element
      <LI>second list element
      <LI>third list element
    </UL>
  </BODY>
  </HTML>

Mozilla will render the above document correctly. And Opera has a
yet-unreleased implementation.

For an example of a frames-like document, see the example in the CSS2
specification [1].

[1] http://www.w3.org/TR/REC-CSS2/visuren.html#fixed-positioning

-h&kon

Håkon Wium Lie             http://www.operasoftware.com/people/howcome
howcome@operasoftware.com                      simply a better browser
Received on Saturday, 12 June 1999 17:15:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:59 GMT