4 replies [Last post]
HalfLife
Offline
newbie
Last seen: 17 years 21 weeks ago
Joined: 2003-09-04
Posts: 4
Points: 0

I have my site styled with CSS, works perfect around IE, but when viewed in Firefox all the white text becomes default black, and all the links becomes blue!

I know Mozilla has some incompatibilities with CSS, but I don't know what.
Here is the code I'm using:

body
{
margin:2.5;
}

font,th,td,div
{
cursor:default;
text-decoration: none;
font-family: Arial,Helvetica,Geneva,Swiss,SunSans-Regular;
color:"white"
}
p 
{
cursor:default;
text-indent: 0.2cm
text-decoration: none;
font-family: Arial,Helvetica,Geneva,Swiss,SunSans-Regular;
color:"white"
}
a
{
cursor:pointer;
text-decoration: underline;
font-family: Arial,Helvetica,Geneva,Swiss,SunSans-Regular;
color:"white"
}
a:hover
{
text-decoration: none;
}

a.menu
{
text-decoration: none;
filter: blur(add=false, direction=90, strength=4);
font-weight: bold;
width:0%;
}
a.menu:hover
{
font-weight:bold;
width:0%;
background-color: #7781A8;
filter: none;
}

a.on
{
text-decoration: none;
font-weight:bold;
filter: none;
width:0%;
}


a.pic:hover
{
filter: blur(add=false, direction=90, strength=5);
width:100%;
align:left;
}

a.linkpic:hover
{
height:0;
align:left;
}
a.linkpic:hover
{
filter:gray;
height:0;
align:left;
}

a.count
{
text-decoration: none;
width:0%;
filter: blur(add=true, direction=90, strength=5);
}

p.title
{

font-weight:bold;
filter: blur(add=true, direction=270, strength=10);
width:100%
}

div.atitle
{
color:black;
font-weight:bold;
}

p.credits
{
font-size:75%
}
font.none { color:"black"}

Please help!

The Finch
Offline
Enthusiast
Cincinnati
Last seen: 16 years 26 weeks ago
Cincinnati
Timezone: GMT-5
Joined: 2004-08-01
Posts: 65
Points: 0

[RESOLVED] Mozilla and such

The filter: property does not work in Firefox.

You also may want to convert your color: properties to hex.

e.g.
White = #fff
Black = #000

just an idea

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 4 days 3 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

[RESOLVED] Mozilla and such

Hi HalfLife,
The problem may be the quotes around the color words.

Hope that helps

HalfLife
Offline
newbie
Last seen: 17 years 21 weeks ago
Joined: 2003-09-04
Posts: 4
Points: 0

[RESOLVED] Mozilla and such

Yep, that worked. Thanks!

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 45 weeks 10 hours ago
Joined: 2004-06-30
Posts: 9668
Points: 801

[RESOLVED] Mozilla and such

And you might wanna stick a semicolon after every declaration. Makes adding to it easier.

Filter doesn't work in firefox, however moz-opacity does.

Verschwindende wrote:
  • CSS doesn't make pies