Little 'styles' irritation (isn't there always)

i chaps, so I thought I was getting my head around styles and was being really disciplined, I hope I can explain my dilemma.

I created a body style to apply to all new text … it happens to be white … I applied it to a word that I added an external link to (it defaulted to the link royal blue colour) I don’t want that blue so changed it to a lighter blue which created a new style which I renamed ‘light blue’ … so then I highlighted one at a time all my other links that were in the royal blue (body) and hit my new style ‘light blue’ excellent, we’re getting along famously … all my links when I highlight them show they have 2 styles ‘body’ and ‘light blue’ … I then created a new link and, when highlighted, I see in the styles palette ‘body’ and ‘light blue’ BUT it is in royal blue and it’s that royal blue in the Inspector palette. Does the inspector palette override the styles palette and should I just change the colour in the inspector ?

Many thanks to anyone who’s lasted the course and read through all of this drivel … Roger


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

Hi Roger,

I try to explain how to do although I’m not that sure if all matches the truth:

A link style is something different to a .body or a .whatevername style. It looks something like:

a:link { color:#f60; text-decoration:underline }
a:visited { color:#800000; text-decoration:underline }
a:hover { color:#331000; text-decoration:underline }

and the best to achieve if you do the following:

Remove all styles from your HTML Elements (Text). Click somewhere on the pasteboard so no element is selected.
Look at the inspector, middle symbol (the pen), section under background - links.

Adjust there your “wished color” for each state (link,visited,hover,active)

This set all links on the entire page to this settings.

If you want to have some elements to have other link settings, single click the element and repeat the step above.

Finally reapply your .body style to your text and you should be done.

Hope this makes any sense?

Cheers

Thomas

Does the inspector palette override the styles palette and should I just change the colour in the inspector ?

Many thanks to anyone who’s lasted the course and read through all of this drivel … Roger


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

My body style usually is my main text, so it’s the main color of the entire site.

Links can either be done per page or per element using the Link Style Action or, if using CSS boxes (divs), you can just click on each div and give it it’s own link style.

So, regardless of your text style, the link colors override those (I believe). I like to make sure every state has some color, too.

Bob


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

The thing to remember – always – is to never style links directly, that is by clicking on them and altering their color. This way lies madness.

Instead, always work at one or more removes, as outlined above. Either select the element that contains the link text and set the link styles there using the Link segment of the Style tab of the Inspector, or select the page (click anywhere blank on the page or pasteboard, so nothing is selected) and use the same tab on the Page Inspector.

If you avoid applying any local style beyond a bold or italic phrase, stick to applying paragraph styles to change the text on your page, and leave the links as unmodified as possible, you will have the most flexibility in making your links look and behave the way you want them to.

Walter


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

The thing to remember – always – is to never style links directly, that is by clicking on them and altering their color. This way lies madness.

This is in short is what I wanted to tell here, but haven’t had the eggs to do - never ever… (btw the css-menu action should be handled this way too).

Cheers

Thomas


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

As ever a stunning response to my question, I really hadn’t realised that links should be treated so ‘preciously’ - I will apply this knowledge - have good weekends Roger


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