Re: Questionable implementation of IMG ALT attribute as tooltips

Rasmus Kaj (kaj@cityonline.se)
Mon, 26 Jan 1998 12:50:06 +0100


To: jmkgre@essex.ac.uk
Cc: www-html@w3.org
Cc: kaj@cityonline.se
From: Rasmus Kaj <kaj@cityonline.se>
In-Reply-To: Your message of "Mon, 26 Jan 1998 10:58:55 +0000 (GMT)"
 <SIMEON.9801261055.B@s1682.essex.ac.uk>
Message-Id: <19980126125006R.kaj@cityonline.se>
Date: Mon, 26 Jan 1998 12:50:06 +0100
Subject: Re: Questionable implementation of IMG ALT attribute as tooltips

>>>>> "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/