I’d like to learn how to do links like they have on this page in my freeway documents.
This is fairly easy, depending on how well you understand Links and how they work. There are many ways to style links in Freeway… the easiest being the Links section of the Page Appearance Inspector.
With nothing selected (which would mean the Page is selected) click the Paintstick icon of the Inspector and check out the Links Pane. You will see the four link states, a button to set the underline state of the text-decoration property. The More button will bring up the Links Style Editor, which is what you will want… but first click the underline button of the Normal link state to disable the
After you open the Link Styles Editor window, Freeway confusingly switches the order of the styles and renames the Normal style to
link, which is the correct html term. Let’s focus on this style for a moment.
To get an effect like the example page, set the Color of the link by choosing a color from the Character Attributes toggle. Next we want to set an underline which isn’t an underline, but a bottom border-- something we can only do with an extended style. Open the Extended Link Styles window and create a new property
The value requires specific syntax to describe the property… I write it in shorthand like this:
2px solid #ffa36e
This means the border is 2px wide, solid style, and the last is the color in hex format. You can get the hex format of any Freeway color from the Edit Colors window in Freeway.
That takes care of the Normal Link style. The next to set is the Hover link style. ( You can often ignore the other two link styles if you’re not a perfectionist. )
You do not have to set the Color of the hover style unless you want the text to change from the Normal style when the cursor hovers over it. Since it doesn’t in the example, just don’t bother setting it as it’s inherited.
But do set the Background Color in the Character Attributes toggle and choose or create a color for that. We also want to remove the bottom border to match the example, and for that I have a special trick.
Like the Normal (link) style, we open the Extended Link Style window to do this. We could simply set the the
border-bottom property with a value of
none to do the job, and it would cancel out the bottom border when the link is hovered. But, I’ve found changing border properties can sometimes create shifts in text, so here is another way to describe the
border-bottom property for this style…
2px solid transparent
This draws the same border as before-- physically taking up the same space, but the color is transparent. It’s valid CSS and doesn’t seem to cause any problems with any of the normal browsers.
Now, I know your going to ask about the Menu links, and I am going to beg off of that because I just don’t mess with the Menu action. The principles, however, are still the same… so I am confident you can eventually puzzle that out.
freewaytalk mailing list
Update your subscriptions at: