Re: width:120%

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 UTC