English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories
1

im trying to code my page and i realized i already used link formatting to edit the other links on my page. well i want to format one specific link to act diffrently is there a way i can do that?

2007-12-12 06:08:06 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

5 answers

Just give that one special link a class name or id.

Link

Then you can decorate your link like this:

.cool:link {
details
}

.cool:visited {
details
}

.cool:hover {
details
}

2007-12-12 07:56:49 · answer #1 · answered by Anonymous · 0 0

i have no idea what you've done, but this is what you should do.

1. Write a HTML page that will stand alone
2. Write a separate page for the CSS coding
3. If necessary write a third page for the action, i.e. javascripting

Then to do something really unique, that can't easily be edited via the CSS page, just inline the CSS code in the HTML page... keep in mind, inlining is sloppy and very unprofessional

Good luck

2007-12-12 14:21:51 · answer #2 · answered by runFunning 6 · 0 0

In-line CSS formatting take precedence over other formatting methods. If you format the link in-line with the "style=" tag, it should work.

2007-12-12 14:16:32 · answer #3 · answered by Anonymous · 1 0

Your best bet is to use that linked style sheet and, while all other links are defined in ONE way, set up a special class or id of link like, say
a#special { font-weight: bold; /* or whatever */ }
a.something { color: #f00; /* or whatever }
...
then in your html in that case...
click here
or
click here

2007-12-12 14:41:46 · answer #4 · answered by fjpoblam 7 · 0 0

fedest.com, questions and answers