W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2002

some hr questions

From: John Russell <ve3ll@rac.ca>
Date: Fri, 18 Oct 2002 12:42:05 -0400
To: www-amaya@w3.org
Message-ID: <3DB0019D.13473.1404801@localhost>

Now using hr element as separator ... works as i 
expected in msie but not in other browsers .

1]  is the hr element allowed within an address element 
       the mozilla.org groups contend that it cant be nested that way
    but validator does not complain.
2] the short test that i am adding does not do a line return before
   the paragraph after hr element in address... is this a bug ???
3 there are two lines (only spotted this when i made a darker shade
   background ... top line is correct.... where does bottom one come from??
    my assumption is that amaya sets different height than other browsers
     do on the hr element  .
test case is as follows 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body {background:#d6e0cc}
hr {color:khaki; margin:0px; padding:0px}
hr.s {width:20px}
</style>
<title>test of hr</title>
</head>
<body>
<p>here is a <hr class="s"> short rule for test.<p>

<address>
Here is a test of the hr tag<br>
<hr>
Resume normal programming now.  Why the double line
and isn't hr a block element where it should start a new line

</address>
</body>
</html>
  //
John Russell, VE3LL@RAC.CA
http://home.cogeco.ca/~ve3ll (2 L's as in LLAMA)
check HTML at http://www.htmlhelp.com/tools/validator/
check CSS at http://jigsaw.w3.org/css-validator/
check JavaScript at http://www.crockford.com/javascript/jslint.html
Received on Friday, 18 October 2002 12:36:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:38 UTC