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

Re: width:120%

From: David Dorward <david@dorward.me.uk>
Date: Thu, 10 Jun 2004 23:37:21 +0100
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: www-style@w3.org
Message-Id: <1086907041.7483.1.camel@localhost>

On Thu, 2004-06-10 at 23:18, Andrew Fedoniouk wrote:
> Does anybody know real life examples when 
> percent blocks dimensions with values over than 100% are useful? 

Well, it can look cute:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<title>Width 120% is cute</title>
<style type="text/css">

ul {
  margin: 0;
  padding: 5px;
  width: 3em;
  border: dotted black 1px;
  overflow: visible;
  list-style-type: none;
  background-color: white;
  color: black;
}

li {
  margin: 5px;
  padding: 5px;
  width: 120%;
  border: dotted black 1px;
  background-color: white;
  color: black;
}

</style>

<h1>Width 120% is cute</h1>

<ul>
<li>Hello
<li>Wibble
<li>Foo
<li>Bar
<li>Baz
</ul>

-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
Received on Thursday, 10 June 2004 18:37:39 GMT

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