links with different colors.

links with different colors.

How can I have two sets of links with different colors?

View Answers

November 2, 2010 at 4:09 PM

Hi friends,

You can suggest this presentation using style sheets. In your style sheet, define something like this:

a:link        {color: blue;   background: white}
a:visited     {color: purple; background: white}
a:active      {color: red;    background: white}
a.foo:link    {color: yellow; background: black}
a.foo:visited {color: white;  background: black}
a.foo:active  {color: red;    background: black}

Then use CLASS="foo" to identify the links of the second color in your HTML, like this:


November 2, 2010 at 4:10 PM

You can suggest this presentation using style sheets. In your style sheet, define something like this:

a:link        {color: blue;   background: white}
a:visited     {color: purple; background: white}
a:active      {color: red;    background: white}
a.foo:link    {color: yellow; background: black}
a.foo:visited {color: white;  background: black}
a.foo:active  {color: red;    background: black}

Then use CLASS="foo" to identify the links of the second color in your HTML, like this:

<A CLASS="foo" HREF=...>...</A>









Related Tutorials/Questions & Answers:
links with different colors.
links with different colors.  How can I have two sets of links with different colors
Write an applet program for displaying 3 different sentences with 3 different colors
Write an applet program for displaying 3 different sentences with 3 different colors  Write an applet program for displaying 3 different sentences with 3 different colors
Advertisements
how to mark different colors for diffent rows - Java Beginners
how to mark different colors for diffent rows  Hi, i have drawn a simple table using swings and now i want to mark diffent colors for each row..............my target is to have each color for each row.......first row
how to mark different colors for diffent rows - Java Beginners
how to mark different colors for diffent rows  Hi frends, Actually yesterday i had a question that, how can i mark colors to my rows in the table using swings.............one of my frend posted the solution also
Here is a set of 18 different shades of one of the most favourite Choclate colors
; padding:5px 0px 5px 5px; } Here is a set of 18 different shades of one of the most favourite choclate colors rangeing from light choclate color to darker
Here is a set of 26 different shades of one of the most favourite Red colors
:5px 0px 5px 5px; } Here is a set of 26 different shades of one of the most favourite Red colors rangeing from light Red color to darker Red color
This is a set of 18 different shades of DarkSalmon colors covering lighter DarkSalmon color to darker DarkSalmon color.
:5px 0px 5px 5px; } This is a set of 18 different shades of DarkSalmon colors covering lighter DarkSalmon color to darker DarkSalmon color
This is a set of 26 different shades of brown colors covering light brown to darker brown.
:5px 0px 5px 5px; } This is a set of 26 different shades of brown colors
Here is a set of 26 different shades of one of the most favourite Orange colors rangeing from light Orange color to darker Orange color.
:5px 0px 5px 5px; } Here is a set of 26 different shades of one of the most favourite Orange colors rangeing from light Orange color to darker Orange color
Here is a set of 26 different shades of one of the most favourite Pink colors rangeing from light Pink color to darker Pink color.
:5px 0px 5px 5px; } Here is a set of 26 different shades of one of the most favourite Pink colors rangeing from light Pink color to darker Pink color
specify colors
specify colors  How can I specify colors
different borders
; enter the values in that cell then we create different borders and we also sets the different colors. . Code description  The package we need to import... different borders      
ModuleNotFoundError: No module named 'Colors'
ModuleNotFoundError: No module named 'Colors'  Hi, My Python... 'Colors' How to remove the ModuleNotFoundError: No module named 'Colors'... to install padas library. You can install Colors python with following command
ModuleNotFoundError: No module named 'Colors'
ModuleNotFoundError: No module named 'Colors'  Hi, My Python... 'Colors' How to remove the ModuleNotFoundError: No module named 'Colors'... to install padas library. You can install Colors python with following command
ModuleNotFoundError: No module named 'github-colors'
ModuleNotFoundError: No module named 'github-colors'  Hi, My... 'github-colors' How to remove the ModuleNotFoundError: No module named 'github-colors' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'mac-colors'
ModuleNotFoundError: No module named 'mac-colors'  Hi, My Python... 'mac-colors' How to remove the ModuleNotFoundError: No module named 'mac-colors' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'make-colors'
ModuleNotFoundError: No module named 'make-colors'  Hi, My Python... 'make-colors' How to remove the ModuleNotFoundError: No module named 'make-colors' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'mappyfile-colors'
ModuleNotFoundError: No module named 'mappyfile-colors'  Hi, My... named 'mappyfile-colors' How to remove the ModuleNotFoundError: No module named 'mappyfile-colors' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'mintty-colors'
ModuleNotFoundError: No module named 'mintty-colors'  Hi, My... 'mintty-colors' How to remove the ModuleNotFoundError: No module named 'mintty-colors' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'mintty-colors'
ModuleNotFoundError: No module named 'mintty-colors'  Hi, My... 'mintty-colors' How to remove the ModuleNotFoundError: No module named 'mintty-colors' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'mpl-colors'
ModuleNotFoundError: No module named 'mpl-colors'  Hi, My Python... 'mpl-colors' How to remove the ModuleNotFoundError: No module named 'mpl-colors' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'object-colors'
ModuleNotFoundError: No module named 'object-colors'  Hi, My... 'object-colors' How to remove the ModuleNotFoundError: No module named 'object-colors' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'python-colors'
ModuleNotFoundError: No module named 'python-colors'  Hi, My... 'python-colors' How to remove the ModuleNotFoundError: No module named 'python-colors' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'python-colors'
ModuleNotFoundError: No module named 'python-colors'  Hi, My... 'python-colors' How to remove the ModuleNotFoundError: No module named 'python-colors' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'simple-colors'
ModuleNotFoundError: No module named 'simple-colors'  Hi, My... 'simple-colors' How to remove the ModuleNotFoundError: No module named 'simple-colors' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'skilstak-colors'
ModuleNotFoundError: No module named 'skilstak-colors'  Hi, My... named 'skilstak-colors' How to remove the ModuleNotFoundError: No module named 'skilstak-colors' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'terminal-colors'
ModuleNotFoundError: No module named 'terminal-colors'  Hi, My... named 'terminal-colors' How to remove the ModuleNotFoundError: No module named 'terminal-colors' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'todoist-colors'
ModuleNotFoundError: No module named 'todoist-colors'  Hi, My... named 'todoist-colors' How to remove the ModuleNotFoundError: No module named 'todoist-colors' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'colors-print'
ModuleNotFoundError: No module named 'colors-print'  Hi, My Python... 'colors-print' How to remove the ModuleNotFoundError: No module named 'colors-print' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'console_colors'
ModuleNotFoundError: No module named 'console_colors'  Hi, My... named 'console_colors' How to remove the ModuleNotFoundError: No module named 'console_colors' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'finder_colors'
ModuleNotFoundError: No module named 'finder_colors'  Hi, My... 'finder_colors' How to remove the ModuleNotFoundError: No module named 'finder_colors' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'github-colors'
ModuleNotFoundError: No module named 'github-colors'  Hi, My... 'github-colors' How to remove the ModuleNotFoundError: No module named 'github-colors' error? Thanks   Hi, In your python
Inbound Links: Importance of inbound links
Inbound Links: Importance of inbound links...; In this section we will understand the importance of inbound links for getting higher ranking in search engine and search result or SERPs. Inbound links are also
Ajax Links
Ajax Links       AJAX links, code samples and news Read full DescriptionADS_TO_REPLACE_1
html page viewed on different os
html page viewed on different os  The colors on my page look different when viewed on a Mac and a PC
how to print all colors using awt
how to print all colors using awt  how to print all colors using awt
display of colors in a table - JSP-Servlet
display of colors in a table  Hi, If i have a table of 4 by 4 boxes, numbering from 1-16 in sequence, how do i make them display one column of one color and another column of another color? Thanks!  Hi Friend
ModuleNotFoundError: No module named 'django-admin-colors'
ModuleNotFoundError: No module named 'django-admin-colors'  Hi, My... named 'django-admin-colors' How to remove the ModuleNotFoundError: No module named 'django-admin-colors' error? Thanks   Hi
ModuleNotFoundError: No module named 'make_colors_tc'
ModuleNotFoundError: No module named 'make_colors_tc'  Hi, My... named 'make_colors_tc' How to remove the ModuleNotFoundError: No module named 'make_colors_tc' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'odoo8-addon-web-context-in-colors'
ModuleNotFoundError: No module named 'odoo8-addon-web-context-in-colors' ...: ModuleNotFoundError: No module named 'odoo8-addon-web-context-in-colors' How to remove the ModuleNotFoundError: No module named 'odoo8-addon-web-context-in-colors'
ModuleNotFoundError: No module named 'polidoro-py-colors'
ModuleNotFoundError: No module named 'polidoro-py-colors'  Hi, My... named 'polidoro-py-colors' How to remove the ModuleNotFoundError: No module named 'polidoro-py-colors' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'click-help-colors'
ModuleNotFoundError: No module named 'click-help-colors'  Hi, My... named 'click-help-colors' How to remove the ModuleNotFoundError: No module named 'click-help-colors' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'django-admin-colors'
ModuleNotFoundError: No module named 'django-admin-colors'  Hi, My... named 'django-admin-colors' How to remove the ModuleNotFoundError: No module named 'django-admin-colors' error? Thanks   Hi
ModuleNotFoundError: No module named 'django-colors-formatter'
ModuleNotFoundError: No module named 'django-colors-formatter'  Hi...: No module named 'django-colors-formatter' How to remove the ModuleNotFoundError: No module named 'django-colors-formatter' error? Thanks   
ModuleNotFoundError: No module named 'django-github-colors'
ModuleNotFoundError: No module named 'django-github-colors'  Hi...: No module named 'django-github-colors' How to remove the ModuleNotFoundError: No module named 'django-github-colors' error? Thanks   Hi
ModuleNotFoundError: No module named 'Links'
ModuleNotFoundError: No module named 'Links'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'Links' How to remove the ModuleNotFoundError: No module named 'Links'
links open new windows
links open new windows  Why do my links open new windows rather than update an existing frame
Maven Repository/Dependency: org.webjars.npm | colors
Maven Repository/Dependency of Group ID org.webjars.npm and Artifact ID colors. Latest version of org.webjars.npm:colors dependencies. # Version Release Date 1 1.2.5
Different JRE
Different JRE  Java is platform independent. The why different JRE's there for differen operating systems
JSlider with RGB Colors
JSlider with RGB Colors In this section, you will learn how to create sliders to show RGB colors. In this example, we  have created three horizontal sliders, first one as red, the second one as green and the third one as blue

Ads