Previous Message
Next Message

[css-d] relative coloring (I don't know what to call it)

Sent by Timothy J. Luoma on 6 June 2002 23:11


Ok, I know I can use this to color the back of 'div.mshole'

	h5 + div.mshole { background-color: rgb(0,0,139); }

but how do I color the back of h5 when it comes before a div.mshole?

Here's the basic code

<h5>foo</h5>
<div class="mshole">The latest security hole</div>

You can see it in practice at http://www.tntluoma.com/microsoft/

css is http://www.tntluoma.com/global/css/default.css (way down @ the
bottom of the file)

TjL

-- 
Timothy J. Luoma                               Apprentice Webdesigner
[EMAIL-REMOVED]                        http://www.tntluoma.com
	   mindbloggling: http://www.tntluoma.com/weblog/
Previous Message
Next Message