CSS Link or Import

Is it best to use Link or Import for an external css file (or
both)?
Brandon
==================
Presentations Direct -
http://www.presentationsdirect.com
> Binding Machines
http://www.presentationsdirect.com/binding-machines/gbc-binding-machines.asp
> Laminators
http://www.presentationsdirect.com/laminators/gbc-laminators.asp
> Paper Shredders
http://www.presentationsdirect.com/paper-shredders/gbc-paper-shredders.asp
==================

> So Link works for all major browsers today?
Always has. It's a HTML tag and works for more than just
stylesheets.
@import is a style rule (needs to be wrapped in
<style>...</style> tags in
HTML pages) and is the new kid on the block.
Importing stylesheets has advantages over merely LINKing
style sheets to a
HTML documents, including breaking your stylesheets into
modules for easy
maintenance.
To use importing, you can use it directly in an HTML
<style> tag, but then
you might as well use link because import would be doing the
same thing:
including that stylesheet in the HTML page.
To really take advantage of importing, you should import
other stylesheets
into a master stylesheet that is linked to the HTML page.
First link one stylesheet to the HTML page:
<link type="text/css" rel="stylesheet" href="css/main.css"
/>
And then import the other stylesheets into the master one.
Only the master
css file is linked to the HTML page.
So in this example, import the other stylesheets into
main.css:
/* Import the other stylesheets into main.css */
@import url("styles.css");
@import url("layout.css");
The main advantage of importing stylesheets is that updating
stylesheet
links is easier, because you update them in a single CSS file
that is
imported rather than in every HTML page.
Consider:
<link type="text/css" rel="stylesheet" href="css/main.css"
/>
<link type="text/css" rel="stylesheet" href="css/docs.css"
/>
Then, main.css contains:
/* Import the other stylesheets into main.css */
@import url("styles.css");
@import url("layout.css");
/* Now define some additional styles */
div.main-banner {border:none;width:600px;}
div.newsscroller {background-color:black;}
See
http://dhtmldev.com/content/view/63/27/
for more.
Regards
John Waller

Similar Messages

  • How to update link and import data of relocated incx file into inca file?

    Subject : <br />how to update link and import data of relocated incx file into inca file.?<br />The incx file was originally part of the inca file and it has been relocated.<br />-------------------<br /><br />Hello All,<br /><br />I am working on InDesignCS2 and InCopyCS2.<br />From indesign I am creating an assignment file as well as incopy files.(.inca and .incx file created through exporing).<br />Now indesign hardcodes the path of the incx files in inca file.So if I put the incx files in different folder then after opening the inca file in InCopy , I am getting the alert stating that " The document doesn't consists of any incopy story" and all the linked story will flag a red question mark icon.<br />So I tried to recreate and update the links.<br />Below is my code for that<br /><br />//code start*****************************<br />//creating kDataLinkHelperBoss<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br /><br />/**<br />The newFileToBeLinkedPath is the path of the incx file which is relocated.<br />And it was previously part of the inca file.<br />eg. earlier it was c:\\test.incx now it is d:\\test.incx<br />*/<br />IDFile newIDFileToBeLinked(newFileToBeLinkedPath);<br /><br />//create the datelink<br />IDataLink * dlk = dataLinkHelper->CreateDataLink(newIDFileToBeLinked);<br /><br />NameInfo name;<br />PMString type;<br />uint32 fileType;<br /><br />dlk->GetNameInfo(&name,&type,&fileType);<br /><br />//relink the story     <br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br /><br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA);<br /><br />relinkCmdData->Set(database, dataLinkUID, &name, &type, fileType, IDataLink::kLinkNormal); <br /><br />ErrorCode err = CmdUtils::ProcessCommand(relinkCmd); <br /><br />//Update the link now                         <br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />err = updateLink->DoUpdateLink(dl, &newLinkUID, kFullUI); <br />//code end*********************<br /><br />I am able to create the proper link.But the data which is there in the incx file is not getting imported in the linked story.But if I modify the newlinked story from the inca file,the incx file will be getting update.(all its previous content will be deleted.)<br />I tried using <br />Utils<IInCopyWorkflow>()->ImportStory()<br /> ,But its import the incx file in xml format.<br /><br />What is the solution of this then?<br />Kindly help me as I am terribly stuck since last few days.<br /><br />Thanks and Regards,<br />Yopangjo

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • Some CSS Links not displaying correctly

    Hi folks,
    I've been building a new site, but am having problems with some of the CSS links.
    The normal links are working fine.
    However, I've created a class that should display some of the links in bold - but it doesn't work!
    This is the CSS:
    .bold-larger a:link {
    font-weight: bold;
    color: #4E8AD2;
    font-size: 16px;
    .bold-larger a:visited {
    font-weight: bold;
    color: #4E8AD2;
    font-size: 16px;
    .bold-larger a:hover {
    font-weight: bold;
    color: #F47C01;
    font-size: 16px;
    text-decoration: none;
    .bold-larger a:active {
    font-weight: bold;
    color: #4E8AD2;
    font-size: 16px;
    And this is the code as it appears on the page:
    <span class="bold-larger">You can buy cool and interesting decorations and accessories from <a href="http://www.test.com">PartyBox</a>.</span></p>
    It doesn't display them in bold though!
    The test page is here:
    http://www.iainmoran.com/40/40th-birthday-gift-ideas.html
    Any idea why this might not be working please? I'm sure it's very simple, but I can't seem to work what it is!
    Many thanks,
    Iain.

    Thank you both so much for your quick replies!
    I'm pleased to say the links are now working correctly, so no more tearing my hair out is required!
    Thanks again,
    Iain.

  • Using Link to import Calendar & Contacts to Z10

    How to import Outlook contacts and calendar appointments using BlackBerry Link 1.0.1 for Windows
    (Taken from, and further details at: http://helpblog.blackberry.com/2013/03/blackberry-link-import-outlook/#more-6968)
     User Guide - BlackBerry Link 1.0.1 for Windows
    How to install or upgrade BlackBerry Link for Windows
    If you have not installed BlackBerry Link yet, visit http://blackberry.com/blackberrylink and follow the instructions to download and install BlackBerry Link for Windows. If you have already installed BlackBerry Link, you will be automatically prompted to install BlackBerry Link for Windows v1.0.1.
    Note: For those that use a Mac, stay tuned for more information in the near future.
    Importing contacts and calendar data during device migration or during the new device setup wizard
    If you are upgrading to a BlackBerry 10 smartphone, after installing BlackBerry Link you’ll be able to import your Outlook contacts and calendar appointments during the device migration process. If you are connecting a BlackBerry 10 smartphone to BlackBerry Link for the first time, you will also be able to import your contacts and appointments during the new device setup wizard.
    When prompted, complete the following steps to import your Outlook contacts and calendar details to your new BlackBerry 10 smartphone:
    1. On the Import Contacts and Calendar Appointments from Microsoft Outlook screen, click the Transfer Data button.
    2. Select the Microsoft Outlook profile containing the data to be imported.
    3. Use the checkboxes to select the data to be imported.
    Calendar appointments occurring in the last 30 days or in the future will be imported to the BlackBerry 10 smartphone
    4. Click Next.
    Once you have imported your Outlook contacts and appointments, you can update your contacts at any time by following the instructions in the next section.
    Importing Outlook Contacts and Calendar data from BlackBerry Link device settings
    If you have already set up your BlackBerry 10 smartphone, complete the following steps to import your Outlook contacts and calendar details:
    1. Open BlackBerry Link for Windows.
    2. Connect your BlackBerry smartphone to the PC using a USB cable.
    3. In BlackBerry Link, click on the name of your BlackBerry smartphone followed by clicking the gear icon in the top right corner to open the settings menu.
    4. Click Import From Outlook.
    Note: An upcoming release of BlackBerry Link will support full two-way synchronization.
    Caution: A pop-up message may appear if you have previously imported data from Microsoft Outlook to your BlackBerry 10 smartphone using BlackBerry Link. Importing the data again will add new contacts and calendar appointments, but will not update any existing records that have been modified on the device.
    5. On the Import Your Contacts and Calendar Appointments screen, select the data to import by clicking the Contacts and/or Calendar appointments checkboxes. Click Next followed by Ok to transfer your data.
    6. On the Data Transfer Complete screen, click Finish.
    7. Click Close Settings to return to the normal media and document view.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

    Note: An upcoming release of BlackBerry Link will support full two-way synchronization.
    please to way sync  now

  • Robohelp 11 not Linking or Importing .docx or docm

    I just got RoboHelp 11 installed. I specifically upgraded to allow me to link my many Microsoft Word 2007 and Microsoft Word 2010 since RoboHelp 8 will not allow you to .docx files.  When I try to link there Word docs, it only shows me options for .doc and .rtf files (as shown below). I have the Microsoft Office 2010 suite installed and usable on my computer.  As the tutorials state:
    You can create a RoboHelp project by importing a Word document. To import Word files, you must have Microsoft
    Word installed on your computer.
    Note: DOCX and DOCM formats are not supported by versions earlier than Microsoft Word 2007. See Microsoft Word
    I was able to create a new project using a .docx file, but even that project once created shows this same window without the .docx and .docm options when linking or importing new Word Documents.
    Is there a setting or an update that is needed to allow me to select .docx file types for Linking and Importing?

    When you go to open a document in an existing project as in your first image your dialog is only showing DOC and RTF whereas in the second image all the required options are showing. So the question has to be what is different and one possibility is that in the first you are browsing to a network and in the second you are browsing locally.
    Try copying the document you were trying to link to / import to your local drive and then try to link. Are the options then different? If yes, I would suggest a chat with your network guys.
    Let us know how that goes.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Expdp / impdp - Private synonyms using DB link not imported

    Hi
    I'd appreciate any help with this.
    We are taking an export (expdp) of a database on Oracle EE 10.2.0.3 in Prod and then importing it into an identical DB on 10.2.0.5 in Dev.
    I doubt the minor version difference is an issues, but I mention it for completeness.
    Our expdp in prod used to look like this:
    expdp agdba/x directory=DATA_PUMP_DIR dumpfile=X.DMP logfile=X.LOG schemas=A,B,C,D
    We have changed it to:
    expdp agdba/x directory=DATA_PUMP_DIR dumpfile=X.DMP logfile=X.LOG full=y EXCLUDE=SCHEMA:"IN ('E', 'F')"
    ( so basically do a full export, but exclude schemas E & F )
    The impdp in dev has not changed (we import one schema at a time):
    impdp agdba/x DUMPFILE=X.DMP LOGFILE=imp_X.LOG SCHEMAS=A DIRECTORY=DATA_PUMP_DIR TABLE_EXISTS_ACTION=SKIP
    DB user AGDBA has been granted the DBA role...
    The Issue:_
    Private synonyms that use a DB link are NOT imported, but private synonyms that do NOT use a DB link ARE imported.
    I can fix the issue by simply recreating the private synonyms using the DB link - e.g.:
    CREATE SYNONYM EVENTLOGTBL FOR EVENTLOGTBL@FCISTOSMS;
    Things were working fine until we change the expdp to use FULL. I see a few posts about synonyms and FULL=Y issues, but nothing quite like our problem.
    Any ideas?
    Thanks,
    Andreas

    Andreas Hess wrote:
    So the problem is expdp FULL=Y for some reason does not export synonyms that refer to objects via DB links. I doubt that ... More than few times a week I refresh non-prod databases from a prod db, (it is schema level export not FULL=Y), and two of the schema own db links, and others have synonyms pointing to them. I have never encountered synonym problem (except that if db_links are invalid then impdp takes extremely long time to timeout while compiling pl/sql code.). We normally change db_links after the impdp is done, or (while it is importing table via another session).
    I just re-ran sqlfile option with include=db_link,synonym option and i can see statements that create synonyms and create db links.
    However i think the order in which impdp runs might be the source of your problem ... see this
    Starting "ME"."SYS_SQL_FILE_SCHEMA_01":  ME/******** dumpfile=xxxx.%u.dmp directory=xxxx_exp schemas=schema1,schema2,schema3 sqlfile=schema.sql include=db_link,synonym
    Processing object type SCHEMA_EXPORT/SYNONYM/SYNONYM       <<<< Synonyms are created first
    Processing object type SCHEMA_EXPORT/DB_LINK               <<<< db_links come later
    Job "ME"."SYS_SQL_FILE_SCHEMA_01" successfully completed at 08:32:02So, it is conceivable that if you drop synonyms/db_links from your schemas before impdp, some synonyms will fail to create properly. This could be a version specific issue, mine is 11.2 and I don't see failures for synonym creation, i.e. no error messages while impdp. Next time you could try to drop objects except db_links and see if you still have the same issue.
    Raj

  • CSS link rel statements appear as comments. Not referenced. Help?

    My CSS link rel statements appear as comments and are not referenced by the web page locally.
    <link rel="stylesheet" type="text/css" href="/PDGCommTemplates/HTN/css/newmain.css" />
    I have a new computer (windows 8 which I've learned to love... durress works miracles). I also had to switch to a designated server from a shared server, at the same time so several variables.
    When I created this site on my new computer I first created the site within Dreamweaver and then I opened the remote site and downloaded it's entirety to my hard drive. I've somehow created the problem in this process.
    The problem is in how the style sheets are directed. None of the original style sheets show up in the CSS Styles Panel, in either the all or the current tab. However when I open a page the style sheet titles all appear in the menu bar above the page (as short cut icons) and I can select/open them but get a note that the css file is a remote file and cannot be edited. When I hover over the shortcut icon in the menu bar the directory path appears as http://cafetablesserver.newhostingaccount.net/PDGCommTemplates/HTN/css/newmain.css
    I can open the css files locally in the file manager and I can create new css files. The remote site is functioning.... however, my nameservers are not yet directed at it and I have had to change my host file to view it.
    So what I need to know is how do I direct the local pages to reference a local css page on my hard drive? I need the path to be C:/..../..../webpagename/httpdocs/PDGCommTemplates/HTN/css/newmain.css
    The root directory is httpdocs
    I ran this site no problem on my old computer as a document root site. I've only changed the computer and the server. Thanks for your help

    Thanks for your response,
    I may not have been clear in original post. The only time the http:// or the C:// prefix is present is when I hover over the file names in the menu bar above the open web page. I have not enterred them as such.
    The link rel comment is currently written as link rel="stylesheet" type="text/css" href="/PDGCommTemplates/HTN/css/newmain.css
    My current file tree is as follows:
    httpdocs
    -/PDGCommTemplates/
         -/HTN/
              -/css/
                   -newmain.css
              -home.html
    Is the link rel comment above wrong? Do I need to move my html files into the root directory? They are currently in the sub sub folder /HTN/
    Thanks

  • Frustrated with external css link

    I had an external css link that was working in edge version 2014.0, then I upgraded to 2014.1 and edge will no longer link to the external css link that it would before. (The reason I have an external css is that I have some elements that I am adding thru javascript to the stage later so that I don't clutter up the stage - these elements added later were then styled with my external css but now it doesn't work). I was able to get the css to link before by manually adding the css in the edge_Preload.js:
      aLoader = [
          { load: "edge_includes/jquery-2.0.3.min.js"},
          { load: "edge_includes/edge.4.0.0.min.js"},
          { load: "js/rollarCoasterQuestionsMain.js", user: true },
          { load: "js/rollarCoasterQuestion1.js", user: true },
          { load: "js/rollarCoasterQuestion2.js", user: true },
          { load: "js/rollarCoasterQuestion3.js", user: true },
          { load: "js/rollarCoasterQuestion4.js", user: true },
      { load: "css/rollarCoasterQuestionsMain.css"},                 //this was the added line that worked before
          { load: "js/jquery.cookie.js", user: true },
          { load: "rollarCoasterR1_edge.js"},
          { load: "rollarCoasterR1_edgeActions.js"}];
    It no longer works allowing me to add the external stylesheet this way... so I'm looking for a new way but going through the forum I've found the following examples that I haven't gotten to work:
    Putting this in the stage code (technically is in the edgeActions.js file): sym.$("<link rel='stylesheet' type='text/css' href='css/rollarCoasterQuestionsMain.css'>").appendTo("#Stage");   //couldn't get this to work
    Then tried putting this in my external javascript file just to try it another way but it diddn't work either (in my js/rollarCoasterQuestionsMain.js file):
    $( "#Stage" ).append( "<link rel='stylesheet' type='text/css' href='../css/rollarCoasterQuestionsMain.css'>" );   // but this didn't work either
    Please help

    Actually in most of my Edge projects I'm using webfonts.
    When doing this I also add an external stylesheet like below. (Located in the library, fonts tab)
    Once done the stylesheet works too, without any other coding.
    I hope this helps.
    Kind regards,
    Lester.

  • CSS Link

    Hi
    I understand that the wwv_setting.generate_css_link API will generate the css link to a given stylesheet
    e.g.
    <LINK REL=Stylesheet TYPE="text/css" HREF="http://EXDL5.123.co.uk:7778/pls/portal/PORTAL.wwv_setting.render_css?p_lang_type=NOBIDI&p_subscriberid=1&p_styleid=1&p_siteid=0&p_rctx=P">
    This api requires (amonst others) the following parameters
    p_styleid and p_siteid.
    Does anybody know how to derive the current style id and site id values - so that I can pass them through to this API?
    I am doing this because I am generating html on the fly and I want the generated html document to appear in a popup window and inherit the same look and feel as the portlet from which it was invoked.
    Cheers
    Graeme

    Seemed fine to me on a PC using FF 2.0 Beta 1 and IE6.

  • Dynamic Link Stops Importing

    Windows/PC - Encore CS6 - Premiere Pro CC - Creative Cloud Subscriber
    I'm trying to use Encore to create an ISO image. I've created the sequence in Premiere Pro, spec'ing In/Out and Chapter Marks.
    Using Adobe Dynamic Link to import sequence to Encore, but about a third of a way into the import, the status bar stops, and the software does nothing. It does not appear to be locked up, just stuck. Any thoughts as to how I can get Encore to finish importing?
    - Matthew

    You cannot DL between mixed versions: Encore CS6 will only DL with PR CS6 not PR CC.
    Workflow option:
    Using Premiere Pro CC & Encore CS6 for Bluray, DVD, and Interactive Video for iPad,ATV, and Mobile HD | DAVTechTable | A…

  • CSS Links per page

    As a newbie, I have finally figured out CSS Link settings.
    However, I have to get to them thru Page Properties - for every
    page that has links on it. Surely there is a way to set standard
    link behavior for the whole site? Can't seem to add it to a
    template...
    Thanks!
    Ron

    Pseudo-classes and container styles are what you need - here
    are some
    tutorials.
    http://www.mako4css.com
    http://www.thepattysite.com/linkstyles1.cfm
    http://www.projectseven.com/tutorials/pseudoclasses/index.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Ron4298" <[email protected]> wrote in
    message
    news:eq30u1$hsc$[email protected]..
    > As a newbie, I have finally figured out CSS Link
    settings. However, I have
    > to
    > get to them thru Page Properties - for every page that
    has links on it.
    > Surely
    > there is a way to set standard link behavior for the
    whole site? Can't
    > seem to
    > add it to a template...
    >
    > Thanks!
    >
    > Ron
    >

  • Customs Inward processing - Link between Import and Export

    Hello ..
    Scenario in GTS 7.1: materials imported and finished products exported. Authorities want us to show how imports match the finished products exported.
    How do we see the link between Import & Export and how to see the consumption of the goods (from Import into Sales).
    Thanks
    Hymanti

    Hi,
    I would suggest that you migrate to SAP GTS 8.0 - because without that you have no standard functionality available for any Inward Processing. And in my eyes it makes no sense to build a custom made report for a functionality that is available in a standard SAP product.... ?!
    Have a look at the online help - maybe that helps you to get a better understanding about the GTS 8.0 standard for Inward Processing...
    http://help.sap.com/saphelp_gts80/helpdata/en/49/3e3e90a8ad3eeee10000000a421937/content.htm
    In GTS 8.0 you have the functionality to report your imported components against exported products...
    see also:
    http://help.sap.com/saphelp_gts80/helpdata/en/2d/6173586ceb4d29abff5d933521ede6/content.htm
    hope that helps!
    regards,
    Ralf

  • Have a simple External .css link, but it is overridden by basic & agl-styles css?

    Hello
    Have just ?up-graded? to GoLive 9. Yes I have CS3 DW. I'm to old to change at this point.
    Long time user with many websites, designed with GoLive 7. Most of these sites I have created, using one external "textMaster.css". All is fine.
    I've created a simple new Golive 9 site with one "index" page. Imported one of my External.css, and placed this file in the CSS folder that GL9 creates.
    On this index page I link to my external css, as in GoLive 7. Now I add a Grid layout, add a text box, and type some text. Once I'm finished, I select all the text and at the top menu bar assign [H1] to my text. In Golive 7, this would then use the [H1] text font,size,colour,etc. When I do this with GoLive 9, a two new external css are generated.
    agl-styles.css
    basic.css
    The font size now seems to follow the agl-styles css, which for some reason has a font size of 66px assigned to [H1]???
    If I delete the above two css files, the font DOES assign MY textMaster.css correctly. However as soon as I create another text box and then assign [H1] to it. All the text boxes on the page once again go to 66px. Also in the external css window, these two unwanted css files are back. In the "code" view, they are also now there.
    What am I doing wrong?
    I have also tried this with a small existing GoLive7 website, that I opened and updated in GoLive 9. Same story.
    I have looked in the GoLive9 pdf manual to find out what a "agl-styles.css" file is, and how to stop it from being generated. No luck.
    Thanks in advance for any direction.

    Thanks Nate for your answer.
    It's a VERY SAD SAD DAY, when one of the only reasons I was going to update from 7 to 9 was for a more up to date .css implementation.
    SO VERY SAD to see, the most very basic one external text css, not work on a page.
    I'm back to V7, got a refund from 9. Soon this forum which I have used for 7 years, will look like the hallways of the Vancouver airport at 11:47pm.
    Thanks Nini, Nate, etc. I'll still be visiting this forum until it dies.
    SAD SAD SAD! I'm sorry sir, there is now only one brand of car, it comes in one model and you have no options.

  • RH Crash when linking or importing word documents

    RH9 build 9.0.1.232
    Office 2010
    Webhelp (custom skin)
    I have created a template from a successful project which i completed over three months ago.
    I am now trying to create a project using the template and getitng persistent crashes when attempting to Import or Link Word documents.
    This is causing a great hold up to the project delivery.
    Any help would be appreciated

    Please see the article on my site about Project Templates. The script has been found to have some issues.
    You say have deleted the file and then ask what will happen if you remove it. You did, you said so "Deleting the file seemed to work". If that is not what you mean, please clarify what you mean by removing the file.
    If you create a project using the script, then close the project and delete the CPD, it should be OK. If there ae going to be problems, you will know pretty soon.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • CSS link not working as it should...

    Hi
    i'm having problem getting my links to appear as I want them through CSS. Anythingg obvious in the code? thanks
    <td><p class="anchor-links"> </p>
                      <p class="anchor-links"><a href="accompaniments.html">Accompaniments</a><br>
                        <br>
                    </p></td>
    .anchor-links {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 15px;
        font-weight: bold;
        color: #680800;
        text-align: center;
            a:link    {color:green;}
    a:visited {color:green;}
    a:hover   {color:red;}
    a:active  {color:yellow;}

    Try this -
    .anchor-links a {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 15px;
        font-weight: bold;
        color: #680800;
        text-align: center;
    a:link    {color:green;}
    a:visited {color:green;}
    a:hover   {color:red;}
    a:active  {color:yellow;}
    or this (depending on how you want them to look) -
    .anchor-links a {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 15px;
        font-weight: bold;
        color: #680800;
        text-align: center;
    .anchorlinks a:link    {color:green;}
    .anchorlinks a:visited {color:green;}
    .anchorlinks a:hover   {color:red;}
    .anchorlinks a:active  {color:yellow;}

Maybe you are looking for