Trouble getting rid of default link colors!

Dear Folks,
I have created a ul list for navbar: reads just great in Safari, but has residual blue link color and underline - I have eliminated all styles in the source code, and have written styles in the CSS. Firefox reads all the visted and current links as default underlines, where I want color boxes.
The header where the navbar is located is a secondary header with the div #header2 (no nav bar on the splash index page)
What I wanted was a "tabbed" look, (dark background with light rollovers) which I got as long as I don't "visit" pages - then it reverts to blue letters with underline.
Any help? Here is the code in the CSS
In frustration, I set a separate link color for the footer for all pages - it read fine when each was a separate command, but combining it in CSS Shorthand made it not function.
#footer a:link a:visited a:hover a:active {
color: #CCC98F;
text-decoration: none;
and here is the code for the navbar in the secondary header:
#header2 #navbar ul {
font-family: "Gill Sans", Helvetica, Arial, sans-serif;
font-size: 0.8em;
font-style: normal;
font-weight: normal;
color: #CC9;
list-style: none;
#navbar li {
float: left;
list-style: none;
padding: 0px 10px 15px 0px;
margin: 0;
#navbar li a:link, #header li a:visited {
background: #2B2D16;
padding: 0.2em 0.5em;
font-family: "Gill Sans", Helvetica, Arial, sans-serif;
font-size: 1em;
line-height: 1em;
font-weight: normal;
color: #CC9;
text-decoration: none;
margin-right: 0.5em;
width: auto;
text-align: center;
white-space: nowrap;
word-spacing: 0.2em;
letter-spacing: 0.1em;
#navbar li a:hover {
color: #D2A44E;
background: #625214;
#navbar li a.current, #header li a.current:hover, #header li a.current:active {
    color: #D2A44E;
background: #625214;
cursor: default;
Martha

In your CSS, you always need to define a minimum of 4 rules for the "states" of each link.
Minimum states are:
link
visited
hover
active
in that order.
In your CSS, for #navbar li a (which is any link inside a list inside an element with id="navbar"), you have only defined the link and hover states.
In the absence of a specific CSS rule for the visited state, the browser will always default to blue underline.
Change your CSS as follows
#navbar li a:link, #navbar li a:visited, #header li a:visited {
background: #2B2D16;
padding: 0.2em 0.5em;
font-family: "Gill Sans", Helvetica, Arial, sans-serif;
font-size: 1em;
line-height: 1em;
font-weight: normal;
color: #CC9;
text-decoration: none;
margin-right: 0.5em;
width: auto;
text-align: center;
white-space: nowrap;
word-spacing: 0.2em;
letter-spacing: 0.1em;
If the #header li a:visited compound selector in that rule is doing nothing (since you have <div id="header2"> on the page but not <div id="header">) then change it or delete it.

Similar Messages

  • I am having trouble getting rid of the delay between slides I am using revolve and there is a delay between when one fades and the other appears

    I am having trouble getting rid of delay between slides.  I am Revolving from one to the other and it comes up blank in between slides.

    @vincepay 
    Here is a link to the drivers for the HP Colour LaserJet 3600 windows 7 drivers:
    HP Color LaserJet 3600 Series Printers World Wide Printing System - 64 bit driver for windows 7
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

  • How do I get rid of the swirling colored circle

    How do I get rid of the swirling colored circle with out loosing my document

    "the spinning wait cursor is displayed automatically by the window server when an application cannot handle all of the events it receives. If an application does not respond for about 2 to 4 seconds, the spinning wait cursor appears."
    http://www.macworld.com/article/151583/2010/05/spinningbeachballofdeath.html

  • Get rid of opportunity link in create section

    In the action bar we have create section, I want to get rid of opportunity link in the create section with out taking away create opportunity access. I want a certain roles still have access to create opportunity from a lead or contact record but not from create section.
    Bharat

    Your request is not possible today.
    However, if your goal is to make sure that new opportunities can only be created from contact or lead record, you probably want to ensure that the primary contact is populated (just guessing). You could put validation expressions in Primary Contact ID field:
    [<KeyContactId>] &lt;&gt; "No Match Row Id"

  • How to get rid of default button?

    Application on Nokia 7650, but it is the same for Nokia "Series 60 MIDP SDK for Symbian OS version 1.2" Emulator.
    I have MainMenu=List with Strings, I'm selecting them by cursor keys and confirm them by OK(on emulator)/joystick click(on actual device). But in foot there is button Options, which I didn't make and I want to delete it. Is it possible? Your advices how?

    That is an annoying feature Nokia added (there is also a default "Exit" command that you can't get rid of) on Series 60 phones, and unfortunately there is nothing you can do about it.
    shmoove

  • HT3702 how can i get rid of the link between my credit card and itunes?

    i initially linked my credit card to my itunes account as i thought it would be easier to download songs. but now whenever i go to update an app on my phone it tells me i need to support billing details so i re enter them and it tells me that i am wrong and i cant update my apps? even when they are free?
    is this because there is no money in my account or what? and how do i get rid of the assosiation with my card and itunes?

    You have to create a new Apple ID by following the steps in this article: http://support.apple.com/kb/ht2534.

  • How to get rid of missing link dialog?

    Hello All,
    Here is the description of the problem I am facing..
    From the indesign document I am exporting some incopy files.I close the indesign document and then I relocate the incopy files to some other location.
    Now I again reopen the indesign file, while opening, the missing link dialog pops up which asks for either not to fix the links or fixing the links automatically.
    How can I do the same thing programatically so that the Missing dialog will never pops up.
    So here are my two requirements.
    1) How to relink the files programatcally
    2) How to get rid of the missing link dialog.(also what is the widgetID of this dialog.?)
    I posted this question before also but couldn't get the solution.
    I tried every possible way available in sdk
    i.e using
    IUpdateLink
    kRestoreLinkCmdBoss
    IInCopyDocUtils
    etc.
    But I was unable to relink the files as well as supressing the missing link dialog.
    Any help in this matter will be highly appreciated.
    Regards,
    Yopangjo

    Hi Emanuele,<br /><br />Here is the code..I put this code in Respond function.<br />Please also refere the   FileActionsOpenDocResponder.I also tried using the functions CheckLinkedStories and others.<br /><br />//code start////<br />InterfacePtr<IDocumentSignalData> documentSignalData(signalMgr, UseDefaultIID());<br />ASSERT(documentSignalData != nil);<br />if (documentSignalData == nil) {<br />break;<br />}<br />InterfacePtr<IDocument> doc(documentSignalData->GetDocument(), UseDefaultIID());<br />if (!doc) {<br />break;<br />}<br /><br />IDataBase * db = GetDataBase(doc);<br />InterfacePtr<ILinksManager> linksManager(doc,UseDefaultIID());<br />if(linksManager == nil)<br />{<br />return;<br />}<br />for(int32 linkIndex = 0;linkIndex < linksManager->GetLinkCount();linkIndex++)<br />{<br />UIDRef linkUIDRef = linksManager->GetNthLinkUID(linkIndex);<br />InterfacePtr<IDataLink> dataLnk(linkUIDRef,UseDefaultIID());<br />if(dataLnk == nil)<br />{<br />continue;<br />}<br /><br />UIDList linkUIDList(linkUIDRef.GetDataBase());<br />linkUIDList.Append(linkUIDRef);<br /><br />NameInfo ni;<br />PMString formatName;<br />uint32 fileType;<br /><br />dataLnk->GetNameInfo(&ni,&formatName,&fileType);<br /><br />uint64 size,time;<br /><br />IDataLink::StateType stTp = dataLnk->GetStoredState(&size,&time);<br />switch(stTp)<br />{<br /><br />case IDataLink::kLinkNormal:<br />break;<br /><br />case IDataLink::kLinkMissing : <br />case IDataLink::kLinkOutOfDate :<br />{<br /><br />//code for relinking.<br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br />if(relinkCmd == nil)<br />{<br />continue;<br />}<br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA); <br />if(relinkCmdData == nil)<br />{<br />continue;<br />}<br /><br />//Here you can hardcode the file name in place of dataLnk->GetFullName()<br />relinkCmdData->Set(db, linkUIDRef.GetUID(),&ni, &formatName, fileType, IDataLink::kLinkNormal,(dataLnk->GetFullName())); <br />CmdUtils::ProcessCommand(relinkCmd); <br /><br />//update the link<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br />if(dataLinkHelper == nil)<br />{<br />return;<br />}<br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />updateLink->DoUpdateLink(dataLnk, &newLinkUID );//kFullUI);<br /><br />//The program crashes here<br />InterfacePtr<ICommand> command(CmdUtils::CreateCommand(kRefreshCmdBoss));<br />InterfacePtr<IRefreshCmdData> data(command, IID_IREFRESHCMDDATA);<br />data->Set(GetDataBase(dataLnk), newLinkUID, IDataLink::kLinkNormal);<br />CmdUtils::ExecuteCommand(command);<br /><br />}          <br /><br />//code end.<br />(please check for any missing brackets.)<br /><br />Thanks and Regards,<br />Yopangjo

  • How i suppress the default link color?

    Hi,
    <p>
    i have a little sql report, and i have coded the color for a column value in a function call. It looks like :
    <p>
    select format_html(col_x,5)
    from mytable;
    <p>
    This function give me the following result:
    <p>
    ---> select format_html(col_x,5) from syn
    where rownum<10;
    1<br>
    2<br>
    3<br>
    4<br>
    5<br>
    <_font color="#dc143c">6</_font><br>
    <_font color="#dc143c">7</_font><br>
    <_font color="#dc143c">8</_font><br>
    <_font color="#dc143c">9</_font><br>
    <p>
    Now all values > 5 have a different color. And this works fine.
    <p>
    But now i will link this column to an other page. And than the column has the default color for the link(wich is blue). How i can change this behavior, so the values have the color from the function and the links are only underlined?
    <p>
    Thanks for your help,
    Maik

    Hi Maik,
    You can do something like the following:
    In the region's Region Header for the report, add in:
    &lt;style&gt;
    .customlink:hover {color:red}
    .customlink:active {color:yellow}
    .customlink:link {color:purple}
    .customlink:visited {color:green}
    &lt;/style&gt;
    You can change "customlink" to whatever name you like and, obviously, pick your own colours.
    Then in your SQL statement, add in a field that returns a stylename:
    select field1,
    field2,
    CASE WHEN (test) THEN 'customlink' ELSE '' END STYLENAME,
    etc
    from etc
    Then, in the link, in "Link Attributes", add in classname='#STYLENAME#'
    Regards
    Andy

  • How to get rid of Default Transaction Attribute warning at deployment

    Hi,
    When I deploy Entity and Session Beans on BEA 8.1 SP3,
    I get warings about Default Trabsaction setting.
    I need to know which @XDoclet Tags to insert in my Entity or Session Beans in order
    to get rid of this Deployment waring: The Default Transaction is set to Supported...
    with kind regards,
    Harry van Rijn

    I think @ejbgen:entity 'default-transaction ' should avoid the warning.
    http://e-docs.bea.com/wls/docs81/ejb/EJBGen_reference.html#1126084
    --Sathish
    <Harry van RIjn> wrote in message news:[email protected]..
    Hi,
    When I deploy Entity and Session Beans on BEA 8.1 SP3,
    I get warings about Default Trabsaction setting.
    I need to know which @XDoclet Tags to insert in my Entity or Session Beans
    in order
    to get rid of this Deployment waring: The Default Transaction is set to
    Supported...
    with kind regards,
    Harry van Rijn

  • Getting rid of default portlet graphics

    I'd like to use some of the standard portlets (i.e. External Applications) but don't want those graphics that show up on top of the portlet to be visible. For one thing, they're horribly ugly if your background color isn't white...
    Any solutions?

    Same question? How to get rid of those graphics.
    Im totally new to the Portal Server.
    Where is this folder, how do I access it:
    <9IASHOME>/portal30/images
    null

  • How can I get rid of underlined links?

    I have explored the Safari Preferences and cannot find any way to eliminate the underline that appears with all link items. On my Yahoo homepage, for instance, all of the links (and almost every line is a link) appear with an underline. I'd like to eliminate this so the type is easier to read. I checked through this forum and could not find anything on that issue. Is there any way to do this with Safari or do I need to go back to Firefox??

    Make your own style sheet and tell Safari to use it (an option in its preferences).
    Copy the text below and paste it into any "plain text" editor and then save it using the .css file extension. Then tell Safari to use it.
    focus { outline: 1px dotted invert }
    a:link { color: #CC0000; text-decoration: none; }
    a:link:active { color: #CC0099; outline: gray 1px dotted; }
    a:visited { color: #000099; text-decoration: none; }
    a:visited:active { color: #006699; outline: gray 1px dotted; }
    Changing the color values will change the color of those links. Key part is the text-decoration: none value.

  • How to get rid of old "link to files"?

    On my adobe muse account, I am not able to get rid of my old hyperlinks so it will be easier for me to differentiate between the two files. Please help!!

    LR Watermarks are applied during Export.   So to “remove” them you should re-export pictures without watermarks enabled.

  • Hi there . I am having trouble getting rid of the incessant emails this forum mis sending me .

    Can somebody tell me how to get rid of all communication with this forum ? the emails are driving me nuts ! Its a bit like that movie Haloween .
    This question was solved.
    View Solution.

    Every time you reply on a thread_which you do a lot with things like 'C' or 'B' ,you are subscribed to that thread and will receive email notifications whenever some one else replies to that same thread. The forum  system doesn't realize you are simply posting jibberish and thinks you are actually participating and interested in threads.
    To unsubscribe- after logging in at forum and seeing this message-click your name at left on your post.This will take you to your Profile page.In the right side of the page click on "Resources and Settings'' to expand it.There you will see 'My subscriptions'.Open that and uncheck all of the threads you have posted nonsense replies on.
    In the future don't reply with anything such a "B" or "C"on a thread unless you are actually interested in the topic and wish to be notified of updates to it.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Default link color-change?

    Is it possible to change the color of the text in the navigation bar and/or in the start slideshow button?
    If so, how? The default colors are hard to see against my background color.
    Thanks

    You actually have to select to "not show the navbar" then create your own.
    Also, click View>Show View layout, and be sure that no "box" (a bit hard to see) is covering your links.
    If one is, drag the text box with the links out of the box, click "Display Navigation Menu" in Inspector>Page, unclick it, and drag the text box back up.
    Good luck!

  • [AS CS5] Get document's default fill color

    Anyone know how to do this?
    What I am trying to do is manually select a color using the color picker, then the script redefines and existing swatch with the same color value.
    I tried:
    set myNewColor to fill color of page item default
    without success...

    I had tried that, but it didn't work either. I think that's because I was using the line in a tell myDocument block, not tell application. It still isn't working, though.
    Here is the script:
    tell application "Adobe InDesign CS5"
         set myDocument to active document
         set myNewColor to fill color of page item defaults
         set mySpace to space of myNewColor
         set myValue to color value of myNewColor
         tell myDocument
              tell color "Color1"
                   set space to mySpace
                   set color value to myValue
              end tell
         end tell
    end tell
    Here is the error:
    error "Adobe InDesign CS5 got an error: Can’t get space of swatch id 3." number -1728 from space of swatch id 3
    The default color is a color sampled from a photo, but the "fill color of page item defaults" is returning a swatch:
    tell application "Adobe InDesign CS5"
    get active document
    --> document id 7
    get fill color of page item defaults
    --> swatch id 3
    get space of swatch id 3
    --> error number -1708

Maybe you are looking for

  • Help to install Informatica PowerCenter  8.6.1  on Windows xp 32 bit...

    Hi, I have downloaded below two files from oracle edelivery site. "Oracle Business Intelligence Data Warehouse Administration Console 10.1.3.4.1 for Microsoft Windows and Informatica PowerCenter and PowerConnect Adapters 8.6.1 for Windows x86 (32-bit

  • What is spending too much RAM?

    Hi, today I found my imac's ram memory oversaturaded and I don't know what is causing that. I run the activity monitor to see the process running and, by adding the memory they're using doesn't match what the monitor says it actually running. Yesterd

  • CR produces modern SQL joining on one machine and old style on another

    Hi. I have a configuration related question that I hope someone here could help me with. The background is that we are two project members that have very similar setup, but where one crusial outcome differs between the environments and this differenc

  • Airport utility 5.6.1 download

    I just bought an Airport Express 802.11n andd I can not download Airport Utility 5.6.1, what is the way ?

  • Actions - Smartform in Email body

    Hey all, I have a peculiar client requirement. On triggering an action from the CRM system from transactions, i need to send an email containing a samrtform. I understand that the standard SAP pracitice is to send the smartform as an attachment to th