W3C home > Mailing lists > Public > www-svg@w3.org > May 2004

css question

From: Sigurd Lerstad <sigler@bredband.no>
Date: Mon, 3 May 2004 16:38:46 +0200
Message-ID: <015801c4311c$57b6ce60$451273d5@mmstudio>
To: <www-svg@w3.org>


I'm having trouble with the www-style group so I'm posting here...

I've tested the following in Netscape, Opera and IE, with three different
results. I want to know which is correct. From reading the spec it seems
that Netscape is correct, but I want to make sure.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
<div style="height: 50px; border-width: 10px; border-style: solid;
background-color: red;" >
 <div style="height: 100%; border-width: 10px; border-style: solid;
border-color: blue; background-color: yellow;">

Here's a gif image of the three different results:


Sigurd Lerstad
Received on Monday, 3 May 2004 10:34:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:58 UTC