473,471 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Weird CSS Link problem in Firefox

So my style sheet has many different types of LINK styles. And they all
work fine on IE, even different styles on the same page.

But in Firefox, all link throughout my site all follow JUST the first link
class on any page.

Any thoughts?

As a side thought, in my style sheet I changed what I guess was the
"Default" link style (as seen below). Was I wrong in doing that?

A:link
{
text-decoration: none;
color: blue;
font-variant: small-caps;
font-size: 100%;
text-decoration: underline;
}


Jun 27 '08 #1
14 1996
In article <12***************@nntp.acecape.com>,
"Daniel Kaplan" <No****@NoSpam.comwrote:
So my style sheet has many different types of LINK styles. And they all
work fine on IE, even different styles on the same page.

But in Firefox, all link throughout my site all follow JUST the first link
class on any page.

Any thoughts?
And you don't think a URL is relevant?

--
dorayme
Jun 27 '08 #2
"dorayme" <do************@optusnet.com.auwrote in message
news:do**********************************@news-vip.optusnet.com.au...
In article <12***************@nntp.acecape.com>,
"Daniel Kaplan" <No****@NoSpam.comwrote:
And you don't think a URL is relevant?

How about this, if it helps. Below is my style sheet info on links. Keep
the first section
(nested in between the /////////////////////////////////) and all my
different links work in IE, but not in Firefox.
Remove the nested section and it all works in both browsers.

And in my code I use them as <a class="HT" ... when I want one of the
custom ones.

Perhaps I shouldn't be messing with the default? Or maybe I am using the
style sheet incorrectly?

/////////////////////////////////
A:link
{
color: #CC0000;
font-size: 100%;
text-decoration: underline;
font-variant: normal ;
font-weight: bold;
}

A:visited
{
color: #CC0000;
font-size: 100%;
text-decoration: underline;
font-variant: normal ;
font-weight: bold;
}

A:hover
{
color: #CC0000;
font-size: 100%;
text-decoration: underline;
font-variant: normal ;
font-weight: bold;
}

A:active
{
color: #CC0000;
font-size: 100%;
text-decoration: underline;
font-variant: normal ;
font-weight: bold;
}
/////////////////////////////////
A.HT:link
{
color: #CC0000;
font-size: 100%;
text-decoration: underline;
font-variant: normal ;
font-weight: bold;
}

A.HT:visited
{
color: #CC0000;
font-size: 100%;
text-decoration: underline;
font-variant: normal ;
font-weight: bold;
}

A.HT:hover
{
color: #CC0000;
font-size: 100%;
text-decoration: underline;
font-variant: normal ;
font-weight: bold;
}

A.HT:active
{
color: #CC0000;
font-size: 100%;
text-decoration: underline;
font-variant: normal ;
font-weight: bold;
}


A.GHT:link
{
color: #009900;
font-size: 100%;
text-decoration: underline;
font-variant: normal ;
}

A.GHT:visited
{
color: #009900;
font-size: 100%;
text-decoration: underline;
font-variant: normal ;
}

A.GHT:hover
{
color: #009900;
font-size: 100%;
text-decoration: underline;
font-variant: normal ;
}

A.GHT:active
{
color: #009900;
font-size: 100%;
text-decoration: underline;
font-variant: normal ;
}
A.XHT:link
{
color: #008800;
font-size: 110%;
text-decoration: underline;
font-variant: normal ;
}

A.XHT:visited
{
color: #008800;
font-size: 110%;
text-decoration: underline;
font-variant: normal ;
}

A.XHT:hover
{
color: #008800;
font-size: 110%;
text-decoration: underline;
font-variant: normal ;
}

A.XHT:active
{
color: #008800;
font-size: 110%;
text-decoration: underline;
font-variant: normal ;
}

Jun 27 '08 #3
In article <12***************@nntp.acecape.com>,
"Daniel Kaplan" <No****@NoSpam.comwrote:
"dorayme" <do************@optusnet.com.auwrote in message
news:do**********************************@news-vip.optusnet.com.au...
In article <12***************@nntp.acecape.com>,
"Daniel Kaplan" <No****@NoSpam.comwrote:
And you don't think a URL is relevant?


How about this, if it helps. Below is my style sheet info on links.
And the HTML? And the doctype and ...

How about a URL?

--
dorayme
Jun 27 '08 #4
Scripsit Daniel Kaplan:
>And you don't think a URL is relevant?

How about this, if it helps. Below is my style sheet info on links.
Which part of the abbreviation "URL" do you fail to understand?

Which part of the abbreviation "html" in the newsgroup name do you fail
to understand?

Please continue using the same apparently forged From field until you
have a clue. Thank you in advance.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Jun 27 '08 #5
"Jukka K. Korpela" <jk******@cs.tut.fiwrote in message
news:4d****************@reader1.news.saunalahti.fi ...
Which part of the abbreviation "URL" do you fail to understand?

Which part of the abbreviation "html" in the newsgroup name do you fail to
understand?

Please continue using the same apparently forged From field until you have
a clue. Thank you in advance.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Actually, the forged from field is common for a plethora of reasons:

Spammers,
Hackers who will Google your name (for newsgroups postings) in the hopes of
finding a way into your site
and high and mighty people like you that need to stop being so
condescending.

Strange, with such an attitude one would think you've already learned the
reason for using a forged field in newsgroups.

I'll have to make a duplicate page of my site one which works, and one which
doesn't and post it in the right group (mis-posts happen you know).
Hopefully someone there less snobbish will be kind enough to look at it.

Thanks.

Daniel
Jun 27 '08 #6
Daniel Kaplan wrote:
"Jukka K. Korpela" <jk******@cs.tut.fiwrote in message
news:4d****************@reader1.news.saunalahti.fi ...
>Which part of the abbreviation "URL" do you fail to understand?

Which part of the abbreviation "html" in the newsgroup name do you fail to
understand?

Please continue using the same apparently forged From field until you have
a clue. Thank you in advance.
>
Actually, the forged from field is common for a plethora of reasons:
"Common" doesn't always equal "right" or "good".
>
Spammers,
Use something like da***********@myfirm.com.invalid. People (who even
care) will trim the .invalid, spammers will probably not take the time.
Hackers who will Google your name (for newsgroups postings) in the hopes of
finding a way into your site
So use some non-traceable address, like da***********@gmail.com.invalid.
Then there's no connection to D-Kaplan Amalgamated Industries, Inc.
and high and mighty people like you that need to stop being so
condescending.
Wait, you're afraid that Jukka, because he's so high and mighty, might
reverse the character you've perceived him to have and will start
*spamming* you? Why would someone so condescending deign to send you a
single e-mail?
>
Strange, with such an attitude one would think you've already learned the
reason for using a forged field in newsgroups.
Someone claiming as much Internet experience as you will presumably have
realized the effects of posting someone else's domain in a forged
address. Or do you actually own or control nospam.com?
>
I'll have to make a duplicate page of my site one which works, and one which
doesn't and post it in the right group (mis-posts happen you know).
Yes. But that saves us all, individually, making a new file, copying
your markup from your post (although you hadn't provided it here),
pasting it into the new file, copying the CSS from your post (which may
or may not have been complete), pasting that into the new file, saving
the file and viewing in a browser locally, or uploading to a server and
then viewing it from the server, and STILL not knowing whether we are
using the same doctype or charset or content-type.

So it would be a big waste of time, even before we actually started to
think about your actual question, and we'd be doing it repeatedly, all
over the world.

Which sounds more efficient?

BTW, the added bonus of making simplified versions of troublesome pages
is that one often finds the problem oneself, without even having to ask.
Hopefully someone there less snobbish will be kind enough to look at it.
Yes, one hopes so. But people react less warmly when one repeatedly
offends (for varying values of "offend").
--
John
Jun 27 '08 #7
Daniel Kaplan wrote:
"Jukka K. Korpela" <jk******@cs.tut.fiwrote in message
Actually, the forged from field is common for a plethora of reasons:

Spammers,
Hackers who will Google your name (for newsgroups postings) in the hopes of
finding a way into your site
and high and mighty people like you that need to stop being so
condescending.
BTW nospam.com is a valid domain name. If you must mung your email, do
it properly with an address that is positively invalid. Example:
email.invalid

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jun 27 '08 #8
"John Hosking" <Jo**@DELETE.Hosking.name.INVALIDwrote in message
news:48**********@news.bluewin.ch...
Daniel Kaplan wrote:
>"Jukka K. Korpela" <jk******@cs.tut.fiwrote in message
news:4d****************@reader1.news.saunalahti.f i...
Wait, you're afraid that Jukka, because he's so high and mighty, might
reverse the character you've perceived him to have and will start
*spamming* you? Why would someone so condescending deign to send you a
single e-mail?
Uh no...people who talk like him in emails probably tick off the wrong
person once in a while and get placed on lists. No joking, I'm not that
type. But would be surprised that this hasn't happened to him already.

Seriously people, make the internet a better place. Before you type
anything condescending or the likes, just pretend you are talking to that
person face to face. Put away the e-balls and realize that you would most
likely not answer in such a prickish manner. Newsgroups keep programmers
chugging along. Holier than thou posters make people with sincere
questions ask less.

Not saying my post was correct by all standards. But deserving of rudeness
from someone who can put me down because they're behind a screen, please.

As for nospam.com being real, wow. I've used that header for AGES, I wonder
which came first (1997). Thanks for pointing that out, will change it.
Jun 27 '08 #9
In article <12***************@nntp.acecape.com>,
"Daniel Kaplan" <No****@NoSpam.comwrote:
[huge snip]
As for nospam.com being real, wow. I've used that header for AGES, I wonder
which came first (1997). Thanks for pointing that out, will change it.
Well, since you didn't attempt to register it when you first started
doing it, it doesn't really matter does it? ;)

Joking aside, the only _safe_ domain names to use for address munging
purposes are those names specifically reserved so that they will
never actually become "real" domains (example.com, example.net).
or that are explicitly invalid (.invalid)

I seem to recall nospam.com having actually existed since the
nineties, though...
Jun 27 '08 #10
On 05/14/08 03:53 pm, Daniel Kaplan wrote:
So my style sheet has many different types of LINK styles. And they all
work fine on IE, even different styles on the same page.

But in Firefox, all link throughout my site all follow JUST the first link
class on any page.

Any thoughts?
Sounds like there is a syntax error somewhere in the CSS. Have you
validated both the CSS and HTML?
Please offer an URL that demonstrates the behavior.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jun 27 '08 #11
David Stone wrote:
I seem to recall nospam.com having actually existed since the
nineties, though...
Domain name: NOSPAM.COM

Administrative Contact:
administration, domain co*************@10.com
P.O. Box 309 ,Ugland House
George Town, Grand Cayman
KY
212-937-2077 Fax: 212-937-2077

....
Registrar of Record: TUCOWS, INC.
Record last updated on 11-Sep-2007.
Record expires on 05-Oct-2008.
Record created on 06-Oct-1997. <---------

I would guess that with all the abuse from unclued munging people, they
don't even bother using email at that domain. <g>

--
-bts
-Friends don't let friends drive Windows
Jun 27 '08 #12
"Beauregard T. Shagnasty" <a.*********@example.invalidwrote in message
news:48***********************@roadrunner.com...
David Stone wrote:
>I seem to recall nospam.com having actually existed since the
nineties, though...

Domain name: NOSPAM.COM

Record created on 06-Oct-1997. <---------
I can't swear I've been using it since then, but it's a STRONG possibility.
Still, will change it to the example one. Much better. But whoever said
it, said it best: They must not use it at all....
Jun 27 '08 #13
On Thu, 15 May 2008 22:03:43 +0200, Beauregard T. Shagnasty
<a.*********@example.invalidwrote:
David Stone wrote:
>I seem to recall nospam.com having actually existed since the
nineties, though...

Domain name: NOSPAM.COM

Administrative Contact:
administration, domain co*************@10.com
P.O. Box 309 ,Ugland House
George Town, Grand Cayman
KY
212-937-2077 Fax: 212-937-2077

...
Registrar of Record: TUCOWS, INC.
Record last updated on 11-Sep-2007.
Record expires on 05-Oct-2008.
Record created on 06-Oct-1997. <---------

I would guess that with all the abuse from unclued munging people, they
don't even bother using email at that domain. <g>
It's probably a nice honeypot :)
--
Rik Wasmus
....spamrun finished
Jun 27 '08 #14
On 15 mai, 11:38, "Daniel Kaplan" <NoS...@NoSpam.comwrote:
Seriously people, make the internet a better place.
Daniel,

You asked in your first post this:
>Any thoughts?
You have been replied and invited politely to provide an URL.

You see, there is very very little we can do without being able to
actually examine and investigate the whole code of your webpage,
including http headers. No amount of discussion or chunks of code will
compensate or replace an URL.
Also, make sure you use a doctype declaration, that your markup code
is valid and CSS code is valid too.

Daniel, if you want meaningful assistance, then try to be as helpful
as possible. You want help? Be helpful for starters. Simple.

Good luck,

Gérard
Jun 27 '08 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: news | last post by:
I've a site: http://gto.ie-studios.net/products.php that looks perfectly fine in Windows whether with IE or Firefox 1.0. But when viewed in the Linux version of Firefox 1.0, images get misaligned...
0
by: Mark | last post by:
Hi, I have a treeview control which I populate with info from a database. When I click on a link in IE the link does not post back but instead opens a new browser window with ...
1
by: Gerald Stampfel | last post by:
Hi, i am doing ajax requests to an IIS server. the response is a JSON string, stored in xml.responseText. in IE everything is fine. in firefox, only a part (80%) of the string is delievered in 8...
4
by: Mark | last post by:
Hi.. I changed some of my CSS, and now I get this strange problem in IE. See link: http://xailus.com/files/sample.gif. Left is firefox, what it should look like, right is IE. The footer even...
28
by: entfred | last post by:
I have the following line of html: &nbsp;&nbsp1234&nbsp;&nbsp;&nbsp;&nbsp;&nbspabc&nbsp;&nbsp;&nbspyow In Internet Explorer 6.0, the columns look ok using the above html: 1234 abcd ...
7
by: fredo | last post by:
I've studied Eric Meyer's pure css popups, version two: http://meyerweb.com/eric/css/edge/popups/demo2.html which pops up an image when I roll over a text link. Now I want to pop up a large...
3
by: modermo | last post by:
Hey new to javascript figuring out how to fix this darn problem. I employ an image rollover, and it works beautifully in safari. But in firefox, the image has an annoying blue border around...
1
by: nguyentrongkha | last post by:
I have two asp.net applications that host on server 2003. I create a hyper link on one application that links to default page of the other application.Whenever users click on that link, I get a...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.