W3C home > Mailing lists > Public > www-html@w3.org > April 2001

RE: CSS vs. Tables

From: Timothy J. Luoma <tjlists@bigfoot.com>
Date: Thu, 12 Apr 2001 14:27:12 -0400
To: "Einar Westermann" <einar.westermann@online.no>, <www-html@w3.org>
Message-ID: <NEBBKDAMPLEKOKDLAHDOMEEPDKAA.tjlists@bigfoot.com>

It worked for Opera 5.1/IE 6/NS4.77

But not NS6, which showed the <hr> right through the middle of the

If you throw a &nbsp; in there after the <br> it will render in all the above
(dunno know about older IE but trust that 5.x would work too).

Anyway, this is the code that I used....

Thanks for the pointer.... I was just about to start designing some pages that I
would like to be highly compliant and would like to avoid using tables for
formatting if possible.

(BTW: lynx shows each <div> on its own line, but at least it is visible)

<html><head><title>absolute divs</title>
<style><!-- div	{ position:absolute } --></style></head>
<div style="text-align: left; width: 100%">left</div>
<div style="text-align: center; width: 100%">center</div>
<div style="text-align: right; width: 100%">right</div>
<br />&nbsp;<hr /><p>This is a test 2</p>


ps -- is there a better place to discuss actual HTML/CSS coding, or is this an
appropriate venue?
Received on Thursday, 12 April 2001 14:27:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:56 UTC