Re: Multiple Classes ..;

by Kid Stevens <Kidstevens(at)comcast.net>

 Date:  Wed, 26 Jun 2002 08:43:24 -0600
 To:  Jeremy Duncanson <aesic(at)softhome.net>,
hwg-techniques(at)hwg.org
 References: 
  todo: View Thread, Original
How many times have you pulled that one off?

At 7:54 AM -0500 6/26/02, Jeremy Duncanson wrote:

>
>
>You can keep them as seperate classes and still simplify the CSS by doing
>something like this:
>
>.classone, .classtwo, .classthree {
>  padding, margin and border settings
>}
>
>.classone {
>  font style
>}
>
>.classtwo {
>  font style
>}
>
>.classthree {
>  font style
>}
>
>
>If you were to use IDs on the elements, you could combine the CSS with
>javascript to change the styles and use just one class. It even works in NN
>4.x, not that all changes would get rendered. ;)
>
>Jeremy Duncanson

-- 
Sincerely,
Kid Stevens

"O! this learning, what a thing it is."

William Shakespeare

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA