- From: Rasmus Kaj <kaj@cityonline.se>
- Date: Mon, 26 Jan 1998 12:50:06 +0100
- To: jmkgre@essex.ac.uk
- Cc: www-html@w3.org
- Cc: kaj@cityonline.se
>>>>> "JG" == James Green <jmkgre@essex.ac.uk> writes:
>> I never use non-<HR> separators, simply because they don't behave well
>> for browsers on different screen sizes.
JG> Agreed. However, the existance of simple colour gradients in CSS may be
JG> nice.
I've not actually tested this, but something like the following style
should work:
HR { width: 100%; height: 1ex;
background-image: url(gradient.gif);
border: none; /* Some browsers may defaultrender a HR as a border */
}
Then, you can use different classes of HR with different gradients, or
maybe different sizes ...
Which browsers support this? Does any?
// Rasmus
--
kaj@cityonline.se --------------- Rasmus Kaj - http://www.e.kth.se/~kaj/
\ CityOnLine IB Production AB - http://www.cityonline.se/
\------------------------- Unite for Java! - http://www.javalobby.org/
Received on Monday, 26 January 1998 06:50:47 UTC