/    Sign up×
Community /Pin to ProfileBookmark

Changing color of one link.

On this page: https://wjporter.com/misc/irvtestx.htm , I am trying to display “RCV Fails” (just under the text area) in red. This is what I have so far in the style sheet and html

[code] #rcvfail {
color: red !important; }
</STYLE>
——————–
<div id=”bottom1″>More info on Ranked Choice Voting (Instant Runoff) <a href=”http://www.fairvote.org/rcv#rcvbenefits”>fairvote.org</a>
<label id=”rcvfail”>&nbsp; &nbsp; &nbsp; <a href=”https://www.electionscience.org/voting-methods/the-limits-of-ranked-choice-voting/”>
RCV Fails</a></label></div>[/code]

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@cootheadFeb 11.2019 — Hi there wbport,

I don't know why you putting an [color=#069] _"a element"_[/color] within a [color=#069] _"label element"_[/color].

The [color=#069] _"label element"_[/color] should only be used to add relevant information

to [color=#069] _"form elements"_[/color].

Be that as it may, this...

``<i>
</i>#rcvfail a {
color: #f00;
}<i>
</i>
``


....will make the link red.

If you are interested writing valid code then you should address the

errors indicated here...

[url=https://validator.w3.org/nu/?doc=https%3A%2F%2Fwjporter.com%2Fmisc%2Firvtestx.htm][color=navy]**Error results for https://wjporter.com/misc/irvtestx.htm**[/color][/url]

_coothead_
Copy linkTweet thisAlerts:
@4squarelogicFeb 12.2019 — Well you guys shared really impressive information.
×

Success!

Help @wbport spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...