<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="0.91">
    <channel>
        <title>Making hyperlink styles work properly in a navigation bar</title>
        <description>The 10 most recently added comments in the topic &quot;Making hyperlink styles work properly in a navigation bar&quot;</description>
        <link>http://www.freewaytalk.net/</link>
        <lastBuildDate>Sun, 04 Jan 2009 20:03:37 -500</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Re: Making hyperlink styles work properly in a navigation bar</title>
            <link>http://www.freewaytalk.net/thread/view/36286#m_36289</link>
            <description>&lt;p&gt;hey  Graham thats a neat trick&amp;#8230; I approached this differently in my sneaky tutorial but this is another great way to order the styles&lt;/p&gt;

&lt;p&gt;cheers max&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;tutorials mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>max</author>
            <pubDate>Sat, 12 Jul 2008 09:24:29 -500</pubDate>
        </item>
        <item>
            <title>Making hyperlink styles work properly in a navigation bar</title>
            <link>http://www.freewaytalk.net/thread/view/36286</link>
            <description>&lt;p&gt;When you create a navigation bar in Freeway, you may have trouble
getting all the hyperlink styles to work properly. Your styles will
probably be like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; #navbar a
 #navbar a:hover
 #navbar a:active
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;but the trouble is, Freeway sorts styles into (something like)
alphabetical order, so your styles will become:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; #navbar a
 #navbar a:active
 #navbar a:hover
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and then they won&amp;#8217;t work as intended. So what do you do?&lt;/p&gt;

&lt;p&gt;Firstly, if you are using Freeway 5 you can set the hyperlink styles
in the Inspector if you want to, and you may find that easier. But if
you prefer to set up your own styles, the answer is to increase the
specificity of the active style, so it takes precedence over the
hover style. There is more than one way of doing this.&lt;/p&gt;

&lt;p&gt;First method:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; #navbar a
 #navbar a:hover
 #navbar a:hover:active
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This is the method I use: it works because you have to hover over a
link before you can click it.&lt;/p&gt;

&lt;p&gt;Second method:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; #navbar a
 #navbar a:hover
 #navbar li a:active
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This method only works if your navigation bar is formatted as a list
(as it normally will be).&lt;/p&gt;

&lt;p&gt;Regards&lt;/p&gt;

&lt;p&gt;Graham Smith
Bury St Edmunds, UK&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;tutorials mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>Graham Smith</author>
            <pubDate>Sat, 12 Jul 2008 02:53:48 -500</pubDate>
        </item>
    </channel>
</rss>
