Problem with links style. Anyone?... anyone?

I have spec'd two link styles, and both are on the same page. Only styles will work. Can you please check my code? Thank you!

CSS:

1st link
.topNavBar {}
font: 14px Arial, Helvetica, without serif.
}
a: link {}
color: #d8a61a;
text-decoration: none;
}
a: visited {}
color: #d8a61a;
text-decoration: none;
}
a: hover, a: active, a: {emphasis
color: #295077;
text-decoration: none;
}

2nd link
{.navBar}
font: 14px Arial, Helvetica, without serif.
}
a: link {}
color: #FFFFFF;
text-decoration: none;
}
a: visited {}
color: #FFFFFF;
text-decoration: none;
}
a: hover, a: active, a: {emphasis
color: #295077;
text-decoration: none;
}


HTML:

1st link
< div id = "Visibility" > < span class = "topNavBar" >
< a href = "#" > investor Login < /a > < / span > < / div >

2nd link
< div id = "navBar" > < span class = "navBar" >
"< a href ="... / internship/index.html "> home < /a > |"
"" < a href = "... / Stage/html/our_team.html" title = "Our team" target = "_top" > our team < /a > |
"" < a href = "... / commonly_asked_questions.html" title = "Frequently asked Questions" target = '_top' > frequently asked Questions < /a >.
"" < a href = "... / contact_us.html" title = "Contact us" target = "_top" > contact us < /a > < / span > < / div >

CSS:

1st link
{.topNavBar}
font: 14px Arial, Helvetica, without serif.
}
a: link {}
color: #d8a61a;
text-decoration: none;
}
a: visited {}
color: #d8a61a;
text-decoration: none;
}
a: hover, a: active, a: {emphasis
color: #295077;
text-decoration: none;
}

2nd link
{.navBar}
font: 14px Arial, Helvetica, without serif.
}
a: link {}
color: #FFFFFF;
text-decoration: none;
}
a: visited {}
color: #FFFFFF;
text-decoration: none;
}
a: hover, a: active, a: {emphasis
color: #295077;
text-decoration: none;
}

Your second set of rules will replace your 1st set simply because they occur later in the style sheet.  In other words,.

a: link {}
color: #d8a61a;
text-decoration: none;
}

...

a: link {}
color: #FFFFFF;
text-decoration: none;
}

With these two rules, all links will be white.

If you want the first affect only the .topNavBar links the value, you must include this classname in your selectors, for example,

.topNavBar a: link {color: #d8a61a; text-decoration: none ;}}

.topNavBar a: visited {color: #d8a61a:... etc.}

You can simplify your CSS like this-

.topNavBar a {color: #d8a61a; text-decoration: none ;}}

.topNavBar a: hover, .topNavBar a: active, .topNavBar one: {emphasis

color: #295077; }

{.navBar}
font: 14px Arial, Helvetica, without serif.
}
.navBar {a}
color: #FFFFFF;
text-decoration: none;
}
.navBar a: hover, .navBar a: active, .navBar one: {emphasis
color: #295077;
}

Then, this will affect the appropriate links.

You can also simplify your HTML code like this-


Frequently asked questions |
Contact us

But really useless at all class assignments.

Tags: Dreamweaver

Similar Questions

  • InDesign on Mac with OS 10.8 CS6 have problems with links

    Hello

    InDesign on Mac with 10.8 CS6 have problems with links. All links to other files need to be updated when you open a file, although absolutely nothing has changed for linked files.
    We can exclude the networking of business and the system hosting the files (software on RedHat Linux VM HELIOS). This happens with the Indesign files newly created and 'old'. For example, we create a file Tuesday, save it and open it again on MAC same exact Wednesday and all links to other fields (.indd, .png, .bmp, etc. nothing rare) must be updated because they all show the yellow triangle + black exclamation point symbol next to them. Someone else knows that, what can we do? We have absolutely everything tried and updated all the software from MAC OS to CS6 itself, but nothing seems to help for the long term.

    For any information required?

    Mr. Miller

    Thanks for your quick response.
    In fact, we noticed that there also seems to be something wrong with the timestamps:
    If we open the news via the MAC finder to a file (.psd for example) which is linked to one of our indesign files, it has a certain date of creation.
    If we then switch to the Indesign file that we just opened in which we had to update all the links and open information to exactly the same file looked at us in the finder, another creation date is indicated. So there also seems to be a mistake here (hope it is clear what I mean).

    Our network we are excluding the error cannot be "re-enacted". We have created several test files in Indesign (simple white page with a link to a .psd file which is also used in one of the allegedly defective files) and opened on different MACs with different versions of the OS over the past few days/weeks, but unfortunately files open without notifications or errors.

    Just as a background: a few months ago the problem seems to occur between MACs with different OS, 10, 6-10, 8 first. A file that was created on a MAC 10.6 could not be opened without updating all the links on a 10.8 Mac is why we've updated everything to 10.8. The error will not occur for about 2-3 weeks but then reoccured again. ?

    Have you heard something similar?

  • Problem with links in Dreamweaver CS3 site root

    I have problems with the links from the root of the site when I'm working on my localhost with Dreamweaver CS3.

    I'm building a site with PHP, MySQL using the WAMP server. I have a page (www.site.com/index.php) I want to copy in the subdirectories (e.g. www.site.com/about/index.php) then I want to do the copy as painless as possible by using the links from the site root (e.g. /about/index.php). It works on the internet but NOT on localhost.

    Why is this? What can we do? Is there a fix if it is a bug? This seems like a simple thing, but it's such a problem.

    > Why is it?

    Because when your (local) server see is you run to the
    ROOT, he goes to ITS root, and rather than the Web site root (for example, htdocs or Inetpub).
    You can work around this by using virtual hosts (google it).

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "KBwebpro" wrote in message
    News:fr6g48$GS4$1@forums. Macromedia.com...
    > I have a problem with links from the root of the site when I'm working on my
    > localhost with Dreamweaver CS3.
    >
    > I am building a site with PHP, MySQL by using the WAMP server. I have a page
    > (
    (> www.site.com/index.php) I want to copy in the subdirectories (for example
    (> www.site.com/about/index.php) if I want to make as painless print
    > as
    > possible using links from the site root (e.g. /about/index.php). He
    > works
    > on the internet but NOT on localhost.
    >
    > Why is it? What can we do? Is there a fix if it is a bug? This
    > seems
    > like a simple thing but it's such a problem.
    >

  • SystemManger registration problem with - isolate-styles = false

    I'm working on a modular application with a bunch of styles. I recently discovered that the loading of styles in the main application with isolate-styles set to true, would break the styleChain for modules.

    The solution was to hire a StyleManager instance in the module, but that has now resulted in ActiveWindowManager being not registered with the system for the module Manager, and thus, PopupManager explodes in line 358:

    var awm:IActiveWindowManager =

    IActiveWindowManager (smp.getImplementation)

    "mx.managers::IActiveWindowManager" ));

    if (window is IFocusManagerContainer)

    {

    if (IFocusManagerContainer (window) .focusManager)

    {

    AWM.

    addFocusManager (IFocusManagerContainer (window));

    }

    because at this point, awm is null.

    Does anyone have an idea about how to get this working? It seems that the implementation of the isolate-styles is originally a world of pain in the sdk 13099

    Notice to lovers?

    The boss is a component propagate its moduleFactory to his children. See UIComponent.moduleFactory and UIComponent.addingChild ().

    -Darrell

  • iOS 9.3 update problems with links

    Problem with update of the iOS 9.3 software. Links do not work in:

    • Mail
    • whatapp
    • text messages
    • Safari

    Did the following:

    • Reset the phone settings
    • hard power off.
    • javascript disabled
    • compared the parameters with the iPad (which was not new software upgrade). the same settings

    iPhone 6 s

    Hello PandaSlots,

    Thank you for using communities Support from Apple!

    I understand from your question that hyperlinks are include as expected after the update to iOS 9.3. We know how frustrating situations like this can be, and we want to make sure that your devices work as expected.

    9.3.1 iOS has been published. This update should resolve this situation.

    If links Hypertext does not open in Safari, Mail or Messages after updating to iOS 9.3 - Apple Support

    See you soon!

  • Problem with LINK blackBerry software

    So today, I went to try to sync some songs on my phone via Itunes, I plug my phone into the computer as usual and start link only to find out that my phone and link won't talk to eachother. I tried to uninstall the link and re install, I got error 1376, I followed the instructions to fix this problem and nothing has worked, I still also have Desktop Manager 7.1 on my laptop, will not uninstall either. I thought that maybe there was a problem with my phone so I reset which and there has been no change. I plugged my phone on my wifes computer and everything worked the way it's supposed to.

    My question is how Devil can I get rid of the two programs above when nothing of what has been recommended before does not work, there is no problems with the registry on my computer files. my laptop is running a 32-bit version of windows 7. I'm definitely at my wits end with this, and it's starting to make me reconsider what phone I'll go with when I update in a few years. I've never had a problem with the blackberry programs before, so it's extremely disappointing.

    Try this:

    http://Support2.Microsoft.com/mats/program_install_and_uninstall

  • Problem with paragraph styles.

    Hello

    I'm having a problem with a site paragraph styles. I created and applied h1, h2 tags etc. to help SEO and everything seemed to work very well so I went to other areas of the site. To revise accordingly the site I decided I want to change some of the tags, however paragraph styles, I created have disappeared since the paragraph style window.

    The problem I have now is that when I write the site the tags are still there in the html code. Is there a way to restore the paragraph currently on a site styles in the paragraph styles selection window?

    Thank you

    Hi jamesm66979926,

    I tried to reproduce your problem, but has been unable to reproduce.

    Please tell me the exact version of Muse with Build installed on your machine.

    To get it, go to file > help > about

    Kind regards

    Ankush;

  • have a real problem with linking buttons to pages

    Hello

    Right, I'm pretty new to Flash CS5 and doing a simple website in Action Script 3.0.

    I have set out four pages I want, and that you have created a button for each page on each page.

    I was told that a script simple stop stop pages acting as a movie.

    I entered:

    14:00


    Stop();

    function button1_clicked(e:MouseEvent): void {}
    gotoAndStop ("home");
    }

    function button2_clicked(e:MouseEvent): void {}
    gotoAndStop ("about");

    }
    function button3_clicked(e:MouseEvent): void {}
    gotoAndStop ("galleries");
    }

    function button2_clicked(e:MouseEvent): void {}
    gotoAndStop ("about");
    }

    Button1.addEventListener (MouseEvent.CLICK, button1_clicked);
    Button2.addEventListener (MouseEvent.CLICK, button2_clicked);
    Button3.addEventListener (MouseEvent.CLICK, button3_clicked);
    Button4.addEventListener (MouseEvent.CLICK, button4_clicked);

    He said cela and buttons to link to relevant pages.

    When I test the movie buttons start flickering and pictures...

    Please help it is frustrating!

    Thank you

    Chances are you have a problem with the code in your file.  Do you get any error messages?  You should because of the double function in code that show you.  You can't have two functions named button2_clicked.  The last should be button4_clicked and should probably go elsewhere...

  • Problems with the style of the Web page in dreamweaver

    Hello

    I have problems with the basic design of my page, where my upper bar isn't at the height, it should be.

    Here's my code for css stylesheet (if you're wondering what's happening with the colors, I tried to add different colors and so it would be easier to see where the different divs):

    @charset "utf-8";
    /* CSS Document */
    #page{
     background:#600;
     position:absolute;
     top:0px;
     left:0px;
     width:1024px;
     height:768;
    }
    #top{
     background:#90F;
     position:absolute;
     top:0px;
     left:0px;
     width:1024px;
     heigth:142px;
     }
    #header{
     background:#0F0;
     position:absolute;
     top:142px;
     left:0px;
     width:1024px;
     height:158px;
    }
    #bottom{
     background:#C90;
     position:absolute;
     top:300px;
     left:0px;
     width:1024px;
     height:468px;
    }
    #venstre{
     background-color:#FFF;
     position:absolute;
     top:28px;
     left:33px;
     width:608px;
     height:357px;
    }
    #hoyre{
     background-color:#FFF;
     position:absolute;
     top:28px;
     left:667px;
     width:323px;
     height:430px;
    }
    
    


    and here is my html code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Untitled Document</title>
    
    <link href="Stilark.css" rel="stylesheet" type="text/css" />
    
    </head>
        
    <body>
    
    <div id="page">
    
         <div id="top">
        
         </div>
        
         <div id="header">
     
         </div>
        
         <div id="bottom">
          
              <div id="venstre">
              
              </div>
            
              <div id="hoyre">
      
              </div>
       
         </div>
    
    </div>
        
    </body>
    
    </html>
    
    

    Hello

    Look here, it's just a spelling mistake in your tips to #top. You should not write "gth" is better "ght":

    heigth:142px;

    height: 142px;

    Hans G.

  • Anyone having problems with links to campaign incontext e-mail now?

    When you change sections having ice: editable = "html" or the ice: editable = 'link' currently, the address of the link and the ToolTip to edit links is poured into the content as editor

    I tried this on several sites in chrome and firefox, and it happens on each of them.

    even a blank template with an ice: editable section, when I try to create a link to google he pours in "http://www.google.com.au |" Change | Break the link"to the editor of content after my link.

    If someone else can replicate this?

    Hello

    It is a known issue, and you will see it is solved after our liberation, tomorrow.

    See you soon,.

    Cristian

  • Can problem with the wallpaper, anyone help?

    Hi all. I found a wallpaper that someone posted the reissue I wanted to use. It's a resolution wallpaper 1920 x 1080. When I try to put the wallpaper, sometimes it won't let me properly cultures and only allows me to select a small portion of the photo. Other times, I am capable of many cultures, but then after that I have lock the screen and wake him up to the top, the image expands and displays only the part of the image. If anyone has encountered this before? And if so, is there a solution?

    Wallpapers are not 1920 x 1080
    They will be crops to portrait and landscape of scrolling.
    It is a setting for most phones android.
    To get the ratio optimal pixel 1:1, the wallpaper must be defined using a 3rd party market app.

  • JDeveloper 12.1.2 has a problem with links when you use the data bean control

    Build JDEVADF_12.1.2.0.0_GENERIC_130608.2330.6668

    The problem that I am facing is:

    I used the data bean control to create our user interface. After that I dragged my jsff page data control, links have been created.

    I opened the XML pagedef to my page. On the Bindings tab and executable, I added a few links more by clicking on the Green plus sign. After I saved my changes, I noticed that some other links have been replaced by a link to the different executable files.

    This behavior occurs almost everytime I have edit links. Does anyone else see this problem?

    It looks like another instance of the bug described in https://java.net/jira/browse/ADFEMG-156

    This bug is fixed in 12.1.3. If you need the fix in 12.1.2 you should open a SR with support.oracle.com and ask a backport.

    Timo

  • InDesign problem with links to unc paths

    We are running Indesign CS3.0 bind us all our images through a drive letter x:.  However, the path for the image changes linked to the \\archway\graphics\etc unc path.  We would like to use for identical images games in two different offices so that when a document is opened in an office, it connects to the local set of images and the opening by the other office he also uses the local set of images stored at this location.  If Indesign has left the link mapped drive letter, it will work very well, but because it modifies a unc path indesign always turned to all the images remotely in a single site and the local section defined in the other.

    Does anyone know if this has been set (or changed) in CS4 or CS5 or is there another way around this problem.

    Thanks for any help.

    ID uses absolute paths first, then if it does not find the links, look in the directory and any sup-directoris, where the ID file is located to see if he can find them here (this is why it is possible to hand of a packaged document). That's what Stix meant by relative path. If the links are in the same way that the doc ID will find them, otherwise, no.

  • problem with links embedded in swf and pdf

    Hi, I'm working a project that asks me to insert a SWF movie into a Pdf file.

    This tape of SWF I Normand to place a button. I want to solve some procedures. With Acrobat Pro, I add a button that I need. When the text link I get a strange case for the button. For the click, as it is the perfect page, but less than one arrived second return to the page with a SWF Movie. In the second click instead the link works fine.

    I need to solve this problem as soon as possible

    Best regards

    Hi makiasrl,

    Please check whether the steps taken to embed the PDF file are correct or not https://helpx.adobe.com/acrobat/using/rich-media.html

    Kind regards

    Nicos

  • Problems with links in Dreamweaver

    The links on this page have worked so far. Don't know what I did differently... I made links with the properties and menu behaviors as before, but now the links on this page behave as if they are instead of links drop-down menus.

    I tried to rebuild the tables in which these links are placed and I tried to copy and paste links (which are still working on other pages) on this page, but when I do, they also act as drop downs instead of links.y

    I also noticed that the link to my site (at the bottom of the page, which was untouched) is also no longer work correctly.

    Probably goes without saying, but I'm a designer, not a programmer and I know very little code.

    Page problem... http://assateagueislandalliance.org/events.html

    Your a: active css is goofed in...

    a: active {}
    text-decoration: none;
    color: #FFFFFF;
    make-weight: normal;
    line-height: 16;
    }

    The row height is missing in a unit of measure, so it seems to be failing at the 16em. The reason why it looks like a menu drop-down is because a single line of text becomes 16 "while you click on" which is essentially what: active way.

    Delete the row height and it should work properly

Maybe you are looking for