Insert Rule

Try using the name of the container box to change that. You won’t be
able to have two rules inside the same box have different styles, so
think about that before you break up your design.

So you have the existing style that I wrote for you, and you want to
have a couple of variations on it, with different colors. The trick is
to add these styles below the first one, but inside the same
block, so they cascade from one another.

#boxOneName hr {
	border-color: pink;
}
#boxTwoName hr {
	border-color: blue;
}

The #boxName part is using the ID of the HTML box that holds the HR as
a differentiator for the color. All HRs have the basic properties set
up in the hr rule, but #boxName hr will only apply to the HRs inside
that box. You don’t have to duplicate all of the properties in each
style, just the ones that need to be different than the base.

Walter

On May 25, 2011, at 9:18 AM, Paul Everett wrote:

thanks that works. I will tinker about as I need to create a style


for different rules on the one page.

freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options