Change color of text connected via a: link & a: hover

Hi all...

I have a very basic question about change a COLOR of text-related and get rid of an UNDERLINE.

Here's what I m tent, definition of CSS rules affecting a: link and a: hover...

{body
background-color: #CCFFFF;
}
a: link {}
color: #FFFFFF;
text-decoration: none;
}
a: hover {}
Color: #00FF00;
text-decoration: none;

}

The problem is, I get my purpose in SAFARI, but not in FIREFOX, in FIREFOX I can still see the

blue color and underline, it seems one: link rules.

is there anyway that I can get a universal result?

Thank you.

CSS properties you use (quite rightly) in which case links are called Pseudo-classes.

On a Web page, the links will have 'States' depends on whether they have been, or are being clicked.

There are 5 links Pseudo-classes (applicable to States different link) at least 4 must be defined (and the order is crucial) so that they work as expected.

Specify in the following order:

a: link (Link state not visited = - not clicked - link)

a: visited (Link state = has been clicked at least once)

a: hover (Link state = when you hover over a link)

a: active (Link state = the momentary appearance when you're clicking on a link)

a: focus is optional.

The unexpected result that you see is the default value of the browser for a: visited since you have not defined a: visited.

Tags: Dreamweaver

Similar Questions

  • Is it possible to share a hp color laserjet cp2020 connected via usb to a 32-bit with a 64-bit PC?

    I have a client that is running a PC XP 32 - bit that has the Color Laserjet CP2020 connected via USB. It is shared on the network to the other PC, but I've recently upgraded to 2 PC for Windows 7 64 bit and now I can't connect the printer shared for them.

    Try the following: install the drivers for Windows 7 x 64 on your Windows 7 machine as if the printer will be attached locally.  Then on the Win 7 machine go devices and printers folder, add a local printer, printer, create a Port, Local Port, \\Computername\Printername (use the name of the actual share of the computer and the printer), OK, then select the cp2020.

  • Changing colors on text links

    How can I keep the text to change colors on the text linked once I click it?  I've attached a screen showing the change in printing color.

    Hello

    You must change your Style sheet and to set rules so visited and not visited styles are the same color.

    You start the trip by clicking on the section in the editor. Then click on Format > Styles...

    See you soon... Rick

  • changing colors of text on buttons event

    I guess that I don't always get the hang of it...

    When I run this code... everything is good and everything is read from the file trees.txt

    var myLoader:URLLoader = new URLLoader()

    myLoader.dataFormat = pouvez

    myLoader.load (new URLRequest ("trees.txt"))

    myLoader.addEventListener (Event.COMPLETE, onDataLoad)

    function onDataLoad(evt:Event) {}

    for (var i: uint = 0; i < evt.target.data.cant; i ++) {}

    This ["tcname_" + i] .text = evt.target.data ["tcname_" + i]

    }

    }

    now what I'm trying to do, and I'm almost certain I'm going the wrong way, is to add bearing a button what is the text the text changes color from black to red.

    sense... If I button_0 of bearing the text of tcname_0 with change to red and if I text button_1 reversal in tcname_1 would change... and so on.

    so, here is what I did:

    var myLoader:URLLoader = new URLLoader()

    myLoader.dataFormat = pouvez

    myLoader.load (new URLRequest ("trees.txt"))

    myLoader.addEventListener (Event.COMPLETE, onDataLoad)

    function onDataLoad(evt:Event) {}

    for (var i: uint = 0; i < evt.target.data.cant; i ++) {}

    This ["tcname_" + i] .text = evt.target.data ["tcname_" + i]

    These two lines already cause a problem I do not know what exactly

    but once I have add this loop are going only once, so I don't tcname_0 to read the text file

    This ["button_" + i] .addEventListener (MouseEvent.ROLL_OVER, buttonover);

    This ["button_" + i] .addEventListener (MouseEvent.ROLL_OUT, buttonout);

    }

    }

    function buttonover(e:Event) {}

    buttonover2 (tcname_2, e)

    }

    function buttonover2 (msg: *, evt :*){/ / didn't know what to give... msg I tried the String, but it's obviously false.)

    msg.textColor = 0xFF0000

    }

    function buttonout(e:Event) {}

    buttonout2 (tcname_2, e)

    }

    function buttonout2 (msg: *, evt :*){)

    msg.textColor = 0 x 000000

    }

    My question:

    1 - Why cause the two lines in the loop to break?

    This ["button_" + i] .addEventListener (MouseEvent.ROLL_OVER, buttonover);

    This ["button_" + i] .addEventListener (MouseEvent.ROLL_OUT, buttonout);

    2. If the loop works and does not break, I have a problem how to spend exactly the name of the text field that should be changed. for now, I'm hard it coding as tcname_2 to see if it still works

    but I would like that it somehow pass the button_x (x being the number) and that x allows you to change the text corrosponding IE (tcname_x)... Is it still feasible?

    I really apriciate help, you guys give amatures like me

    Layth

    No, it isn't the only way.  Here's another:

    var myLoader:URLLoader = new URLLoader()

    myLoader.dataFormat = pouvez

    myLoader.load (new URLRequest ("trees.txt"))

    myLoader.addEventListener (Event.COMPLETE, onDataLoad)

    function onDataLoad(evt:Event) {}

    for (var i: uint = 0; i

    This ["tcname_" + i] .text = evt.target.data ["tcname_" + i]

    This ["button_" + i] .addEventListener (MouseEvent.ROLL_OVER, buttonover);

    This ["button_" + i] .addEventListener (MouseEvent.ROLL_OUT, buttonout);

    }

    }

    function buttonover(e:Event) {}

    var tf:TextField = TextField (this ["tcname_" + e.currentTarget.name.split ("_") [1]]);

    tf.textColor = 0xff0000;

    }

    function buttonout(e:Event) {}

    var tf:TextField = TextField (this ["tcname_" + e.currentTarget.name.split ("_") [1]]);

    tf.textColor = 0 x 000000;

    }

  • change timeline from first pro via dynamic link cs5 yet?

    I'm sure this has been covered before, but I can't find

    anything on the dynamic links in this forum.

    I created my video in still and export still sequence via dynamic links.

    Then, I created all of my menus etc in even, after which, I noticed a few glitches that I wanted to change, so I went back to the first and edited for changes.

    How to still bring back on these changes? It didn't happen automatically as I hoped, and I don't want to have to recreate my new menu structure in yet.

    So, basically, how can I make a change in the first and reflected it in my project again without creating a new project?

    Thank you

    Andy

    If you have converted the sequence Pr or generated the project already, then you need to file. Revert to the Original for en to update changes in sequences of Pr.

    -Jeff

  • Change color of text selected with javascript

    I want to change my text selected a color different CMYK using javascript. I tried, and I don't know what is missing or what I'm doing wrong.

    If (app.documents.length > 0) {}

    newCMYKColor = new CMYKColor();

    newCMYKColor.black = 0;

    newCMYKColor.cyan = 100;

    newCMYKColor.magenta = 0;

    newCMYKColor.yellow = 0;

    Browse all the art of text and apply the color

    for (i = 0; i < app.activeDocument.textFrames.length; i ++) {}

    textArtRange = app.activeDocument.textFrames [i] .textRange;

    textArtRange.characterAttributes.fillCollor = newCMYKColor;

    }

    }

    Can someone tell me what I have wrong here in my script?

    change this line

    textArtRange.characterAttributes.fillCollor = newCMYKColor;
    

    for this

    textArtRange.characterAttributes.fillColor = newCMYKColor;
    
  • can I change xfa.sourceSet.DataConnection.connect.connectString.value

    LC Designer, I created a data connection named DataConnection1 to access a certain file named a001.xls,

    Here is the poster of xml:

    "< sourceSet xmlns ="http://www.xfa.org/schema/xfa-source-set/1.0/">."
    < source name = db = "teen," "DataConnection1" >
    < log delayedOpen = "1" timeout = "15" >
    < connectString > Provider = MSDASQL.1; Persist Security Info = False; Data Source = Excel files; Mode = Read; Extended properties = "DSN = Excel Files; DBQ = C:\a001.xls; DefaultDir = C:; DriverId = 790;" MaxBufferSize = 2048; PageTimeout = 5; "< / conn ectString >
    < user / >
    < password / >
    < / connect >
    < command timeout = "30" >

    -----------------------

    I can view the value of xfa.sourceSet.DataConnection1.connect.connectString.value that shows above the station.

    Now I change the chain of connection via a click on a button that I can use another file named a002.xls for the data connection by:

    new_connStr = "Provider = MSDASQL.1; Persist Security Info = False; Data Source = Excel files; Mode = Read; Extended properties =------"DSN = Excel Files;DBQ=C:\\a002.xls;DefaultDir=C:;DriverId=790;" MaxBufferSize = 2048; PageTimeout = 5; \ » » ;

    xfa.sourceSet.DataConnection1.connect.connectString.value = new_connStr;

    Then when I redisplay the value, there is still the same old connect the string value.

    Any ideas?

    Rgds.

    The sourceSet is locked after the form is displayed. It is a breach of security to change after rendering. If you open the javascript console I am sure you will see an error in security breach.

    Paul

  • suddenly visited links no longer change color. I tried all the suggestions on the positions, but they have not worked. It is now difficult to navigate.

    During navigation, links visited suddenly no longer change color browing is so difficult. I changed the suggestions "remember history" and other suggestions on posts but nothing has worked.

    Hello

    Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    This solve your problems? Please report to us!

    Thank you.

    ______________________________________________________________________________

    Hello

    Try Firefox Safe mode to see if the problem goes away. Safe mode is a troubleshooting mode, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open Firefox 4.0 + in Safe Mode holding the key SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • Or open the Help menu and click on the restart with the disabled... modules menu item while Firefox is running.

    Once you get the pop-up, simply select "" boot mode safe. "

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. To do this, please follow article Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems .

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. It might help others who have the same problem.

    Thank you.

  • How partly change the color of text in OutputMessage?

    We could change color OutputMessage via the parameter "textColor". But it changes the entire message. Is it possible to paint a portion of a message for example in red and the other green? In other words, is it possible to change the color of a common string?

    Kind regards

    Max

    Hi Max,.

    There is only a single property for the text color, and it applies to the message the entire production.  I'm sure that there is no way to split the message in different colors.

  • How can I change the color of an onClick of the link 'a href '?

    I just wanted to ask, how would I go about changing the color of the < a href > link on click using javascript for the id is highlighted in bold, maybe "addClass" syntax would do the trick?

    I also want the original link to return to its original color when or the other highlighted links are clicked. In other words, a single link shows color is selected at a time.

    < head >

    " < link href =" https://fonts.googleapis.com/CSS?family=open+sans "rel ="stylesheet"type =" text/css"> "

    " < script src =" https://AJAX.googleapis.com/AJAX/libs/jQuery/1.11.3/jQuery.min.js "> < / script > .

    < / head >

    < body >

    < div id = 'bar Tools-Center' >

    < ul >

    "< id = li 'registry-top" > < a title = "Register online" style = "padding-left: 5px;" "href =" # "> save < /a > < /li >

    "< id = li"customer account"> < a title ="Login to your account"href =" # "> my account < /a > < /li >".

    "< id = li"top-support-launch"> < a title ="Ask for help"href =" # "> support < /a > < /li >".

    < li > < a href = "#" > Accessability < /a > < /li >

    < li > < a href = "#" > careers < /a > < /li >

    < li > < a href = "#" > region change < /a > < /li >

    "" "< img title ="go to our homepage"onMouseOver =" homeMouseRollover (this) "onMouseOut =" homeMouseOut (this) "src ="... / Icons/Icons/home153white.png Options Page "alt =" "/ >

    "" < img title = "search our site" id = "search-site Internet-toggle" onMouseOver = "searchMouseRollover (this)" onMouseOut = "searchMouseOut (this)" src = "... Largeur/icons/Icons/magglasswhite.png Options Page' = "15px;" height = '15px'; alt = "" / >

    < /ul >

    < / div >

    < / body >

    Concerning

    Todd

    Definition:

    An unordered list (UL) is made up of sequences of list items defined by the LI element.

    In other words, the AMT must not contain anything that is not contained in an LI element. This means that it is illegal to an image in the OL element which is not contained in an LI element.

    With respect to the highlighting of an item (LI) in the list, is to compare the href attribute of the element with the URL of the page. That is the href attribute is "register.html" then the URL is similar to www.mysite.com/register.html, then turn on the highest point. This can be achieved by using a bit of JavaScript.

    I use jQuery to make the JS. The script looks like

    {jQuery (document) .ready (function ($)}

    var url = window.location.href;
    $('_ul.nav_a').map (function () {}
    $(this) .parent () .toggleClass ('active' this.href = url | this.href == url.split("?")) ([0].split("#") [0]);
    });

    });

    The above script compares the values and assigns a class active in a game, although the game contains a hash (#) or an anchor. The style of the current class can be created using CSS as

    .the {}

    color: pink;

    }

    There are two required libraries, namely

    1. https://code.jQuery.com/jQuery-2.2.1.min.js
    2. jQuery - queryParser.js of GitHub - mattsnider/jquery-plugin-query-parser: Simple plugin for jQuery to parse query strings.
  • Text highlighted in CD player changes color makes it unreadable

    Capture.PNGA screenshot of the sample is attached. Change is testimony after I have opened the pdf file after recording it and not stressing it. On opening the pdf file in any other pdf reader, its original color (black in this case) remained unchanged. The opacity was 72%.

    Hi nehas84248022,

    Please see this thread link: ( Highlighted text changes color ) and back.

    Kind regards

    Rahul

  • How to stop text to change colors after you have added a hyperlink to it and on it

    How to stop text to change colors when you added a hyperlink to it and it has been clicked

    It is the State of your object of link - whether text, graphics or other.

    http://TV.Adobe.com/watch/Muse-feature-tour/Muse-define-object-States/

    In addition to above - film on the list of the movies on this page are 2 dealing with triggers and targets. Both have good info on States.

  • Text when scrolling of the page changes color

    When the scrolling text change color until it stops moving

    It was very good work. Play well.
    Please report your last post as solved while others will know.

  • visited links not changing color using the latest Firefox and windows 10

    running windows 10 and the latest firefox freshly downloaded and installed.
    have checked the visited_links is enabled, and I'm not running in private mode
    I know it's only a problem of firefox like links change color using other browsers

    You can check for problems with the database places.sqlite file in the Firefox profile folder.

  • Hi, my places.sqlite file size is 30 720 KB I reached the maximum size, is there a maximum size for this. Visited links are is more changing color.

    Hello
    My places.sqlite file size is 30 720 KB I reached the maximum size, is there a maximum size for this.
    Suddenly the visited links don't change is no longer the font color, that I prepare for an exam, I need visited issues to change color, to follow up on issues that I ended. But if I delete a few days of history, then again once, most visited links change color and then it stops, it seems that something is getting full and not able to accommodate more? Why my visited links don't change color after a number of visits? I would like to make a back up of the file places.sqlite. So I tried everything to remove the profile, uninstalling reinstalling, creating a new profile, and then copy paste places.sqlite etc, but as mentioned after a few visits, visited links is no longer change color, if I delete a few days in history and then a few visits is again change color and then stop again, so what should I increase so that my quota of visited links is increased , I also tried tweaking about: config and there has been no result. Although I was not really convinced that _pages growing brower.history_max (don't remember the name, but I'm sure you get the idea) will help.
    Seems that while my visited links change color, quota is met and only if I delete the history of a few days will I get some links most visited to change color. Can someone enlighten us? As mentioned that my places.sqlite file size is 30 720 KB so I think maybe this has something to do with it? Would be very grateful if someone could help me. Thank you.

    Sorry it is not looking good.

    1. Unlike bookmarks history is not saved in Firefox.
    2. There is a possibility using Windows.
    3. Sync is not expected to back up things until the synchronization server
    4. If places.sqlite does not sort itself you may have to re-create remove it. You will lose your history, but can still access indirectly IF you have saved a copy of the appropriate
    5. Different databases to try to create new profiles
    1. History
      is rather less robust than bookmarks, you should deliberately somehow return it upward, but it's too late now
    2. Earlier versions of Windows
      This is really the last chance. Make sure you have some places.sqlite you saved. Always before and after any attempt to restore the backup. Windows must be able to provide a previous version. One of these versions may be usable as is; or can be used after a repair with housekeeping. Of course, this is not the latest version but it should help.
    3. Sync is not a server backup service.
      Sync is intended to save on another device, no backup is the fact that the second device then contains synchronized information. IIRC Sync development ceased, and the replacement when available may include a server backup option.
    4. Recreate the database of bookmarks (including history)
      Unfortunately, recess can only use saved bookmarks, there is no saved history to use. Once the database is re-created, it will continue to store the history but it loses the existing history. This time take steps to save on a regular basis.
    5. Use the new profiles for database testing.

    To simplify comparison of the results of the database different files create one or more new additional profiles. Then try to smash the places.sqlite file into the test profile with any other places.sqlite, you want to try. Allows you to directly compare the databases, without seeking to use sync and without changing the Firefox profile work unnecessarily. You can keep a reference profile of studies with the best of the profiles of any shows results of history; According to the best recreated or corrupted database is.
    • Use the Profile Manager to create and delete profiles Firefox
    • CARE, do not rename or delete profiles created once or use anything other than empty folders when they are created. Don't nest in the other profiles. (At least until you know exactly how it behaves - post back if you never consider such actions)

Maybe you are looking for

  • Icons are not displayed properly in Gmail when the zoom level is between 150 and 200%

    Icons in Gmail will not correctly displayed in Firefox at all zoom levels. The problem does not occur in less than 150% zoom levels or levels of zoom to 200% or more. Levels of zoom between (150%) correct icons are not displayed until the mouse passe

  • HP Deskjet 3054 ISSUES with Maverick

    Hello I'm having crazy questions my printer connected via a wireless network. My computer runs on OS X 10.9 Maverick and my printer is a HP Deskjet 3054. For some reason I can't connect through wireless. It works only when I have a USB plug my printe

  • Change the color of the KING GROUP

    Hello can someone let me know if changing the colors of the KING when I grouped? I want the oval KING green or other colour than RED. In addition, the oval has an additional ANGLE line. Does anyone know how to get rid of it?

  • Driver for Hp cddvdw TS-l633n drive.

    I need to find another driver for HP cddvdw Ts-l633n road that came in my laptop.  I am running windows 7 64.  The driver of this window provide does not work when you try to burn with nero10.  Anyone know where I can find a driver HP?  Thanks for yo

  • energy saving - the x 51 r2 upgrade

    Hello. I just upgraded my CPU from my X 51 R2 from an i5-4460 to an i7 - 4790 K. The i7 use words more than the i5 4W. I am alos intend to upgrade my GPU a gtx 745 OEM to a 970 of EVGA GTX (04 G-P4-1970-KR), which should be possible, I hear. However