Rule Above/Rule below

Is the anyway to use rules in CSS in freeway - like http://www.brownsdesign.com/ (check the rollover links)

Thanks

S


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

Look at the CSS and you’ll see this:

ul.header-col, ul.header-col-group {
	margin-top: 1px;
}

ul.header-col-group {
	margin-top: 1px;
	float: left;
	width: 160px;
}
ul.header-col-group li {
	margin-right: 15px;
}
ul.header-col, ul.content-col, ul.header-col-group {
	list-style: none;
}
ul.header-col ul {
	list-style: none;
}
ul.header-col li a, ul.header-col-group li a {
	display: block;
	margin-bottom: 1px;
	margin-top: -1px;
}
ul.header-col li a:hover, ul.header-col-group li a:hover, ul.header-col li a.selected, ul.header-col-group li a.selected {
	color: #fff;
	border-bottom: 1px solid #fff;
	margin-bottom: 0;
	text-decoration: none;
}

You’d then try to replicate that in Freeway. The easiest way would be to create a class style and apply it to all the list items so then your UL tag would have a class style to it. You’d then write out your style like this in the TAG field:

ul.stylename li a {
     display: block;
     width: 160px (or whatever width);
}

and then add another TAG style of:

ul.stylename li a:hover {
     border-bottom: 1px solid #fff
}

Then you should be able to get your desired effect.


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

Look at the CSS and you’ll see this:

[…white noise…]

You’d then try to replicate that in Freeway. The easiest way would
be to create a class style and

[…white noise…]

Then you should be able to get your desired effect.

Absolutely. But it might be a kindness to drop in a few more
Freeway-tailored hints alongside the pro-level nuggets of wisdom…
:wink:

k


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

Absolutely. But it might be a kindness to drop in a few more Freeway-tailored hints alongside the pro-level nuggets of wisdom… ;-)>

[…white noise…]

We’ll just wait and see if it merit’s a more elaborate response. You never know Keith, people sometimes just get it without holding their hand all the time. :slight_smile:


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

Thanks Dan - I managed to get the hang of this after a couple of goes. I had a slight problem with the line px increasing the overall leading but sorted this with a -1px space after.

Cheers again.

s


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

Glad you got it working StephenK.

Keith, well, he’d be proud.


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