/    Sign up×
Community /Pin to ProfileBookmark

URL links script and Mozilla and Mozilla firefox browser

I am using the following URL script to change the colour/boldness/size etc of any links on my webpages:

<style>
<!–
A.1:link {text-decoration: underline; color:#990000;font-size: 10pt; font-style: none; font-family: arial;font-weight:}
A.1:visited {text-decoration: underline; color:#990000;font-size: 10pt; font-style: none; font-family: arial;font-weight:}
A.1:active {text-decoration: underline; color:#990000;font-size: 10pt; font-style: none; font-family: arial;font-weight:}
A.1:hover {text-decoration: none; color:#333366;font-size: 10pt; font-style: none; font-family: arial;font-weight:}

A.2:link {text-decoration: none; color:#333366;font-size: 8pt; font-style: none; font-family: arial;font-weight:bold}
A.2:visited {text-decoration: none; color:#333366;font-size: 8pt; font-style: none; font-family: arial;font-weight:bold}
A.2:active {text-decoration: none; color:#333366;font-size: 8pt; font-style: none; font-family: arial;font-weight:bold}
A.2:hover {text-decoration: underline; color:#990000;font-size: 8pt; font-style: none; font-family: arial;font-weight:bold}

A.3:link {text-decoration: underline; color:#CCCCCC;font-size: 9pt; font-style: none; font-family:arial;font-weight:bold}
A.3:visited {text-decoration: underline; color:#CCCCCC;font-size: 9pt; font-style: none; font-family:arial;font-weight:bold}
A.3:active {text-decoration: underline; color:#CCCCCC;font-size: 9pt; font-style: none; font-family:arial;font-weight:bold}
A.3:hover {text-decoration: none; color:#EFEFEF;font-size: 9pt; font-style: none; font-family:arial;font-weight:bold}
–>
</style>

These work fine in IE (of course) but not Mozilla or Mozilla Firefox. Is it my script that is at fault or Mozilla?
These style scripts are within the actual html page being displayed, they are not called from a ccs page.

Many thanks for any info.

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@FangJul 21.2004 — class and/or id must not begin with a number, start with a letter.
Copy linkTweet thisAlerts:
@j_sauthorJul 21.2004 — Thanks very much for that, all are working fine now.
×

Success!

Help @j_s 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 5.17,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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