W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2004

lists with rules as breaks

From: John Russell <ve3ll@rac.ca>
Date: Mon, 12 Apr 2004 09:07:25 -0400
To: www-amaya@w3.org
Message-ID: <407A5C4D.19591.4BE898@localhost>
I have included an example of a simple list that uses
a rule to break the line items. This is occasionally needed
to maintain the item count while segregating items into minor divisions.

The approach uses CSS  float and clear properties and works well
in the mozilla/netscape group of browsers.  

Amaya does not display in the same way ...  which browser is correct if any??
and is there a more universal way ...

Opera and MSIE do not render well either.  Opera has another interpretation
and msie  wants one to use text-align   to move the rule to the left ;-] ;-] ;-]
    but it is a geezer browser, over two yrs since revision and pretty frail now.;-] 

I wonder if there is any universal way that respects css ????
john russell ve3ll@rac.ca [those are L's as in LLAMA]

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>List with Rule as Break -- VE3LL@RAC.CA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
hr.x {float:left; width:99px;}
br.x {clear:left}
<body><h1>List with Rule as Break -- VE3LL@RAC.CA</h1>
<li>Item One</li>
<li>Item Two</li>
<li>Item Three<hr class="x" /><br class="x" /></li>
<li>Item Four</li>
Received on Monday, 12 April 2004 09:03:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:44 UTC