Links working but changing colour when clicked

Hi
All my links in my sidebar are working fine i.e. they open the correct page. However, I want the background colour on hovering to be #999 and the links to be #009 when the page opens. The former is fine but when the page opens in any browser the links show up in a different colour even though they are the correct colour when viewed in Design or Live View.
The css rule is set to background colour #999 and colour #009 but I can´t figure out where the other colour is coming from. Also, when I click on the links in the live browser on some pages they change and stay changed to the #009 colour even when I change page.
You´ll see what I mean here www.theonlineenglishclass.com
Thanks

Sorry to keep on but I keep going back to your page and looking:
Add this:
color:#000099;
to the rule I mentioned in the previous post.
Your links will then apply the color you want to the text but I think it will then apply to the link in each state.
Martin

Similar Messages

  • Making buttons change colour when clicked on, sounds simple......

    hello could somebody please give me the code to make a jbutton change colour when it is clicked on, muuuuuuuuuch appreciated, thanks!!!!!!!!!!!!!!!!!!!!

    w e l l - k e w l !
    I made a few adjustments here. Mainly for myself:- you know when you JUST CANNOT FIND THAT DARN COLOUR !!! - 'Pandavas' sexy little program is right on the button!
    Click on the button and it cycles through colours randomly and tells you the RGB value ...import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ColorChanges extends JFrame implements ActionListener {  
      int red = 0;
      int blue = 0;
      int green = 0;
      java.util.Random rand = new java.util.Random();
      JButton button = new JButton("Colour Me!");
      JLabel label1 = new JLabel("                  The new colours are:                ");
      JLabel label2 = new JLabel("");
      public ColorChanges() {
        super("RGB VALUES:");
        setSize(200,108);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);  
        button.addActionListener(this);
        getContentPane().setLayout(new FlowLayout() );
        getContentPane().add(button);
        getContentPane().add(label1);
        getContentPane().add(label2);
        setVisible(true);  
      public void actionPerformed(ActionEvent eve) {    
            red = (Math.abs((rand.nextInt())%255));
            blue = (Math.abs((rand.nextInt())%255));
            green = (Math.abs((rand.nextInt())%255));
            cooller();
      public void cooller() {   
          button.setBackground(new Color(red,green,blue));
          label2.setText("RED: "+red+" GREEN: "+green+" BLUE: "+blue);      
      public static void main(String[] args) {
          new ColorChanges();  
    }

  • Links change size when clicked

    I have a site done in Dreamweaver CS5 that the links in the navbar change size when clicked.  The bar is set to 95% but the links look like they are abound 50% when the mouse button is pressed.  All references to the size of the links in the HTML and CSS Page Properties are set to 95%. None of the other links properties; a, a:visited, a:hover, a:active, a:link, a:focus change the size.
    I've looked for several hours for solutions.  Anybody got any ideas?  BTW, this is my first site in Dreamweaver.

    I don't see any change in font-size in Firefox 3.6 on Win.  But your code is a bit confusing.
    Change this:
    a {
        font-size: 95%;
    a {
        font-size: 95%;
    a:visited {
        text-decoration: none;
        color: #960;
    a:hover {
        color: #2A3FFF;
        text-decoration: none;
    a:link {
        text-decoration: none;
        color: #626262;
    a:active {
        text-decoration: none;
        color: #626262;
        font-size: 95%;
    To this:
    a {font-size: 95%; text-decoration: none}
    a:link {color: #626262;}
    a:visited {color: #960;}
    a:hover {color: #2A3FFF;}
    a:active, a:focus {color: #626262;}
    The order in which link styles are defined matters in some browsers.  LiVHA is an easy memory device for link, visited, hover, active.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • In Numbers, I copied a worksheet and deleted the contents. The sheet I copied from has a header, I can't see it or bring it up when I'm working but it appears when I print the sheet. How do I delete it?

    In Numbers, I copied a worksheet and deleted the contents. The sheet I copied has a header.  I can't see it or bring it up when I'm working but it appears when I print the sheet. How do I delete the header?

    Hi Cristina,
    Headers are not shown in normal view.
    Menu > File > Print to open Print View.
    Hover the cursor over the Header to see the outline. Click and delete.
    Regards,
    Ian.

  • CC 2014 nik efex - My Nik Efex filters are not working in Photoshop CC 2014 - they appear under plug-ins and seem to work, but after running and clicking okay, no new layer appears - seems to have no effect.  The separate menu panel does not appear either

    My Nik Efex filters are not working in Photoshop CC 2014 - they appear under plug-ins and seem to work, but after running and clicking okay, no new layer appears - seems to have no effect.  The separate menu panel does not appear either.  Help with this?

    BINGO !!!!
    Thanks so much Woodsroad. I had the exact same problem with my Dell Windows 7 64 bit with AMD Radeon 6700 Video card.
    All the video tests passed with flying colors.
    The sniffer rename trick fixed the problem.
    Thank goodness for the internet!

  • My iMac freezes while working but more often when in stand by is.

    my iMac freezes while working but more often when in stand by is.

    Hi ervinfromgermany,
    Welcome to the Support Communities!  The article below will help you troubleshoot the issue you are having with your iMac:
    OS X Mavericks: If your Mac runs slowly
    http://support.apple.com/kb/PH13895
    OS X Mavericks: If an app freezes or quits unexpectedly
    http://support.apple.com/kb/PH13975
    Cheers,
    - Judy

  • In my 4s display option doesn't come to change colours when I go to Setting-General. I am bored with blue colour. Please advise.

    In my 4s display option doesn't come to change colours when I go to Setting-General. I am bored with blue colour. Please advise.

    Go to Settings > Wallpapers & Brightness.

  • Cs4 problem with link text changing size when clicked

    designing in cs4, the actual text of my text links become huge for a split second when clicked, and then they go back to normal size.  I don't know what is causing this.  I don't want them to change when clicked.  Any ideas?  thanks in advance.

    John,
    If you need all the CSS code, I will attach it below:
    @charset "utf-8";
    body  {
        text-align: left; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
        color: #000000;
        background-color: #333;
        padding-top: 0;
        padding-right: 0;
        padding-bottom: 0;
        padding-left: 0;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 14pt;
    .twoColFixLtHdr #container {
        width: 950px; /* the auto margins (in conjunction with a width) center the page */
        border: 1px solid #000000;
        text-align: left; /* this overrides the text-align: center on the body element. */
        background-color: #E0D2A3;
        margin-top: 0;
        margin-right: auto;
        margin-bottom: 0;
        margin-left: auto;
        padding-top: 0px;
        height: auto;
    .twoColFixLtHdr #header {
        padding: 0px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
        background-color: #000;
        border: 5px ridge #333;
        margin: 10px;
        background-image: url(../website%20stuff/stepping%20on%20constitution--crop%20text.jpg);
        text-align: left;
    .twoColFixLtHdr #header h1 {
        margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
        padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
        font-size: 18pt;
        color: #FFF;
    .twoColFixLtHdr #sidebar1 {
        float: left; /* since this element is floated, a width must be given */
        width: 200px; /* the background color will be displayed for the length of the content in the column, but no further */
        padding: 10px;
        background-color: #E0D2A3;
        margin-left: 20px;
        text-decoration: none;
        color: #000;
        font-style: normal;
        font-size: 16px;
    .twoColFixLtHdr #mainContent {
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 250px;
        padding-top: 0;
        padding-right: 20px;
        padding-bottom: 0;
        padding-left: 20px;
        text-align: left;
        font-size: 14px;
    .twoColFixLtHdr #footer {
        padding: 0 10px 0 20px;
        text-decoration: none;
        background-color: #E0D2A3;
    .twoColFixLtHdr #footer p {
        margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
        padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
        margin-left: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
        clear:both;
        height:auto;
        font-size: 16px;
        line-height: normal;
        text-decoration: none;
        font-style: normal;
        text-align: center;
        color: #00F;
    .mainarea {
        background-color: #FFF;
        border: 5px ridge #333;
        font-size: 14pt;
    .twoColFixLtHdr #container #footer {
        font-size: 14px;
        color: #000;
    .twoColFixLtHdr #container #header table {
        text-align: center;
    .twoColFixLtHdr #container #footer .clearfloat table {
        font-size: 14px;
        font-weight: bold;
        color: #F00;
    .twoColFixLtHdr #container #footer .clearfloat {
    .twoColFixLtHdr #container #header table tr td {
        font-size: 24pt;
        font-style: normal;
        font-variant: normal;
        font-weight: bolder;
        color: #000;
        background-image: url(Images/stepping%20on%20constitution--crop%20text.jpg);
    no link underline {
        text-decoration: none;
    .twoColFixLtHdr #container p {
        font-size: 14px;
        font-style: normal;
        color: #000;
    small text {
        font-size: 10px;
    .twoColFixLtHdr #container #header table {
        font-size: 16pt;
    .twoColFixLtHdr #container #header table {
        font-size: 16pt;
    .twoColFixLtHdr #container #header table tr td h2 {
        font-size: 22pt;
        color: #000;
    .twoColFixLtHdr #container #mainContent .twoColFixLtHdr {
        text-align: left;
        font-size: 14px;
    .twoColFixLtHdr #container #mainContent .twoColFixLtHdr h2 {
        color: #009;
        font-style: normal;
        text-align: left;
    .twoColFixLtHdr #container #mainContent .mainarea table tr td strong {
        font-style: normal;
    .twoColFixLtHdr #container #mainContent .mainarea table tr td p {
        font-style: normal;
        font-weight: normal;
    .twoColFixLtHdr #container #sidebar1 {
        color: #00F;
    .twoColFixLtHdr #container #mainContent .twoColFixLtHdr h2 em {
        text-align: center;
    .italics {
        font-style: italic;
    .italics {
    .font-color {
        color: #003;
    .italics {
        font-style: italic;
    .twoColFixLtHdr #container #mainContent .mainarea table tr .twoColFixLtHdr .blue a {
        color: #009;
    .twoColFixLtHdr #container #mainContent .mainarea table tr td .link-font-color {
        color: #00C;
    .align-center {
        text-align: center;
    .twoColFixLtHdr #container #mainContent .mainarea table tr .align-center {
        text-align: center;
    .center-align {
        text-align: center;
    Thanks,
    Craig

  • How To Make Shapes Change Colors When Clicking on them. Example Sheet Sales Data.xlsx template with Excel 2013

    My question is related to the Sales Data.xlsx template that comes with Excel 2013
    IN this workbook is a sheet named Sales Data. It has, 3 shapes. One each for each of the tab sheets in the workbook. When I click on the 'Sales Report' shape it selects the sales report tab. When you do this the shape changes color and the 'Sales Data' shape
    also changes color.
    However I'm unable to figure out how the colors are changing. 
    I don't see any macros in the workbook/worksheet. Nor do I see any code for worksheet events. I don't see any modules in VBA either. I think what is happening is that there are 2 shapes. When you click on one, the one shape goes to the background and the
    other one comes to the foreground.
    I'm no sure how it's doing that. 
    Can someone look at this template, Sales Data.xlsx that comes with Excel and explain how this functionality works?
    Thank You
    Keith Aul
    Keith Aul

    The shapes are exactly as I suspected, each of 3 sheets has 3 'navigation' shapes. The shape with the same name as the sheet has no hyperlink and is coloured differently to indicate it refers to the active sheet. The other two have hyperlinks linked to respective
    sheets. 3x3 shapes, 9 in total, none of them ever change colour!
    It's logical though not necessary to name each shape same as the sheet it links to, but they'd work just as well with their original default names.
    For aesthetics, the shapes that refer to own sheet have a horizontal line on top, actually two shapes as a group.
    If still confused copy each set of 3 shapes to a 4th sheet, or open two new windows so you can see all three sheets at the same time.

  • Trigger change badi when click a custom button

    hello guys i want to trigger the change badi when a user clicks on a button.  Any help would be create?
    I am using the set change by client setting it to true and then firing the refresh but it is not working?  Any clues?  Thank you.

    As I told you in that linked thread, I'd suggest trying to use SET_CHANGED_BY_CLIENT method on the context of your webdynpro. This is sufficient to make the system aware of a change and trigger the CHANGE badi.
    As far as I've observed doing my tests, the CHANGE badi is then triggered after an event that will follow the SET_CHANGED_BY_CLIENT execution.
    So I'd suggest two test:
    - pre-exit of the method you trigger when the user press your custom buttom: set_changed_by_client and then execute your code. See if the badi is then triggered;
    - if not: you could "force" a subsequent action after the button press, for example, a simple REFRESH of the view. Then I'm sure that, after the set_changed_by_client method, the badi will surely be triggered.
    Please be aware that I'm absolutely NOT a guru on these arguments, so I'm trying to give you some workarounds I implemented on an SRM 7 system. Probably some guru will have better and cleaner solution for your task, but as far as I've seen, these ones should meet your needs.

  • Change screen when clicking on add a tab?

    I've tried the add-on to make the new tab a specific one like yahoo or something else. I also tried going in to make the change using the about:config and browser.newtab.url. They both don't work.
    The original spam "Bing" search website url does not change after I make the changes with either of these two methods. I would like the screen with all the recent urls posted on the page when I add a new tab. How can I do this?

    If you try to edit browser.newtab.URL and it ''remains completely unchanged'' after you click OK, it may be locked. Some users have reported this to be caused by a program named Search Protect that they found listed in the Windows Control Panel. If you open the Uninstall a Program control panel and click the "Installed on" column heading to sort the most recent items to the top, can you find that or any other unexpected/suspicious/unrecognized items? I would try to remove anything questionable here first, then exit and restart Firefox to see whether the lock is released.
    If you can edit the preference, but ''Firefox ignores it,'' probably one of your extensions is overriding it. Try disabling ALL nonessential or unrecognized extensions on the Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. Sometimes the ones with bland, reassuring names are the problem, so unless you know it to be valuable, disable. (If it's clearly garbage, remove.)
    Usually a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Any improvement?

  • Full image links working but showing broken in dreamweaver?

    All my images were displayed as relative links and worked perfectly on local host and displayed correctly on dreamweaver design view, but I wanted to change them to full links before I go live.
    So I changed all the urls (using find and display) and now even though all the images work fine on localhost,  on the actual dreamweave desgin view many of the images are shown as broken rather than the actual image. I cannot understand why.
    Code for image that shows broken rather than image in design view:
    <img src="http://localhost/mysite/images/img.jpg" alt="alt text" width="196" height="156" class="imgRight" />
    Code that displays fine in design view:
    <img src="http://localhost/mysite/images/img2.jpg" alt="alt text" width="182" height="133" class="imgRight" />
    Is there something I am missing, am I not linking to the image correctly when I use the full url, if so why would some show and others not and all be fine on localhost testing?
    Help as always much appreciated.
    Thank you in advance.

    Hello,
    I have attempted to load the images based on the instructions provided on the Oracle site (On Windows XP).
    According to the instructions:
    Once you complete the standard install, you need to perform the following steps to complete the upgrade:
    1. Connect to SQL*Plus as SYS
    2. @APEX_HOME/apex/apxldimg.sql APEX_HOME
    My steps were: CMD --> sqlplus /nolog --> conn sys/[password] as sysdba;
    Then, I ran the above script and receive the following error:
    declare
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    The system cannot find the path specified.
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at line 15
    For: 2. @APEX_HOME/apex/apxldimg.sql APEX_HOME
    I had entered:
    @C:\apex\apxldimg.sql apex
    Any suggestions?

  • How do I stop text from changing colour when hovering over it?

    Hello, I have downloaded a template for Dream Weaver CS6 (Which is the version i am usig). When you hover over one of the boxes the top text changes colour to black instead of staying white... does any one know how i can make it so the text stays the same colour. I will post a print screen of it.
    Before clicking:
    View image: 1
    When hovering over it:
    http://postimg.org/image/wdsii9mab/
    I will post the code of the index page aswell: <!DOCTYPE html> <html lang="en"> <head> <title>Home</title> <meta ch - Pastebin.com
    Any help is appreciated. Thanks.

    Your unwanted pink hover color comes from style.css line 181 here
    .btn_{
        background: none repeat scroll 0 0 #cf3046;    border: medium none;
        border-radius: 3px;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
        color: #ffffff;
        font-family: "Open Sans",sans-serif;
        font-size: 12px;
        font-weight: bold;
        line-height: 15px;
        margin-top: 20px;
        padding: 7px 13px 8px;
        text-decoration: none;
        text-shadow: none;
        text-transform: uppercase;

  • DB link working but tnsping fails,how?

    Hi
    I have DB link defined in Oracle EBS DB 10.2.0.3. When i query the table using db link, it is working. But tnsping is failing with this error --TNS-12535: TNS:operation timed out. When the network is not established between our oracle server and SQL server database, how come the DB links works?
    Any help highly appreciated.
    Regards

    Hi
    We have 3 different servers for the DB links. When i was querying with one of our data center server (network ok), it is ok. But the other two servers it is failing. Sorry, mistaken.
    Regards

  • Links work but Blue Question Mark on rollover?

    I'm totally new to dreamweaver CS4. I transferred my iweb website into it.
    On only 1 page (others don't have problem) all the text links look totally fine until I put my cursor on it and then it changes to the blue question mark.
    The links work fine and as far as I can tell all the files (png/jpg) images and rollovers appear to be in the correct folders.
    I tried moving the templates outside the main directory and it worked at first but then not.
    All the mouseover code looks like this:
    onmouseover="IMmouseover('shapeimage_2', '0');"
    ...and one of the web pages has the same code and does not have this question mark problem!
    Thanks for your help in advance!
    laja

    Hi, it happens in live view and browser
    one of links code is:
    "Studio311_Services.html"
    http://www.photographystudio311.com (first page once you enter site)
    thanks!
    lamjam

Maybe you are looking for

  • Firefox will not open from my desk top anymore. I can't change my profile if I can't get to it!

    Yesterday (1/19/13) morning, my Firefox opened fine and it was business as usual. Yesterday afternoon, I clicked on my desktop icon, the little circle spun for about 2 seconds then stopped. Firefox would not open. This morning, the same thing happene

  • Convert video to  mpeg4 h.264 .mov on iMac

    how do I convert my video to mpeg4 h.264 .mov on my iMac 10.6.6?

  • New Service Tax code ( FTXP)

    Hi All As you all are aware that service tax rate has changed from 12.36% to 10.3% my client is using TAXINN , i have to creat new service tax code that i will do from copy from one service tax to another , but my concern is that i shoul have to main

  • Localization of messaging/iwc error messages.

    Hello, I'm trying to localize mail system to ukrainian language. We were able to localize convergence, but not fully. When I'm trying to send a message to particular domains, in convergence I'm getting pop-up window with following contents: SMTP Erro

  • Differences between ".m4v" and ".mov"

    iMovie can post straight to mobileme or export a movie as a quicktime file. In the first case iMovie creates a ".m4v" file while exporting a quicktime it creates a ".mov" file. I might be wrong but it seems to me that the ".mov" is bigger than the eq