Mathew is asking the pertinent question.
There are five pseudo selectors to consider on links:

:link
:visited
:focus
:hover
:active

By applying the font attributes to link and visited you leave the others 
undefined. You could apply the attributes to all states, although the more 
efficient solution is to only use pseudo selectors to apply attributes you wish 
to differ between these states, anything else ought to be set to the element or 
inherited from a parent.

.navbar {
font: ...
}
.navbar a {
text-decoration: none; /* applied to all link states */
}
.navbar a:link {
color: blue;
}
.navbar a:visited {
color: purple;
}


Hope that helps.
Ollie

--
@ollicle

On 28/07/2011, at 8:51 AM, Mathew Robertson <[email protected]> 
wrote:

> This is going to sound like an odd question, but have you also applied this 
> style to the non-psuedo-selector (ie just 'a')?
> 
> regards,
> Mathew Robertson
> 
> On 28 July 2011 08:42, olivia antonin <[email protected]> wrote:
> Hi ,
>  
> I don't understand, my navigation bar, on my mac they behave as I want, so 
> that the font size remain the same , as well as when visited.
>  
> a:link, a:visited{
> font: 13px  Myriad pro, Lucida Grande, Calibri, sans-serif;
> color:#686868;
> text-decoration: none;
> }


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to