61 replies [Last post]
frenchgirl
Offline
Regular
France
Last seen: 13 years 18 weeks ago
France
Joined: 2006-06-16
Posts: 24
Points: 0

CSS not taken into account in firefox

Joseph Sprint
Joseph Sprint's picture
Offline
Enthusiast
Last seen: 5 years 7 weeks ago
Timezone: GMT+1
Joined: 2005-04-15
Posts: 381
Points: 0

CSS not taken into account in firefox

Does that option place the code in the meta tag or in the file makeup?

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 12 hours 25 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9743
Points: 3822

CSS not taken into account in firefox

frenchgirl wrote:
But I'm on a mac!!!
I'm not even using Word, either. So for once, much as I dislike Microsoft, I won't blame it Tongue
It was the Unicode that did it. Save your work as utf-8 (which MSFT will screw up) and you'll be ok with your é and other accented characters. It won't hurt your css or js files either, as long as you properly escape the non ASCII/ANSI entities.

As for blaming MSFT, when there is a foul odor, look to the dog. Laughing out loud

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Joseph Sprint
Joseph Sprint's picture
Offline
Enthusiast
Last seen: 5 years 7 weeks ago
Timezone: GMT+1
Joined: 2005-04-15
Posts: 381
Points: 0

CSS not taken into account in firefox

kk5st, I was in the understanding that all files should be saved as ASCII Plain Text. Then told which character encoding to use in the META tag.

Am I right in thinking this?

frenchgirl
Offline
Regular
France
Last seen: 13 years 18 weeks ago
France
Joined: 2006-06-16
Posts: 24
Points: 0

CSS not taken into account in firefox

Like \'e for é?

So I select Unicode (UTF-8) in my menu?
But then how will it render in IE?

I'm sorry I don't really understand encoding at all :s

frenchgirl
Offline
Regular
France
Last seen: 13 years 18 weeks ago
France
Joined: 2006-06-16
Posts: 24
Points: 0

CSS not taken into account in firefox

hmm sort of changing the subject. since you have all seen my website (I've fixed a few things since in the style that didn't show up in Safari but did in Firefox, and I've also fixed my CSS) I was just wondering what you think of the design itself, if you might have any stylistic suggestions.

Of course the important problem at hand is encoding, though Tongue

Joseph Sprint
Joseph Sprint's picture
Offline
Enthusiast
Last seen: 5 years 7 weeks ago
Timezone: GMT+1
Joined: 2005-04-15
Posts: 381
Points: 0

CSS not taken into account in firefox

Post this in site critiqu then more people can have a look and tell you what they think. Smile

[edit] Oh wait it's not online. Can't you upload it into a folder where you put the zip file?

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 12 hours 25 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9743
Points: 3822

CSS not taken into account in firefox

utf-8 is fine for everything. ASCII and ANSI, as well as iso8859-1, etc., are all subsets of utf-8. Ignore my comment about escaping non-ASCII characters in your style sheet, as you won't need anything that isn't ASCII[1].

I'm not convinced that anyone actually understands character encodings Wink, but a good series of articles begins here.

cheers,

gary

[1] There is an exception, but you can wait on that 'til you bump into it.

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

frenchgirl
Offline
Regular
France
Last seen: 13 years 18 weeks ago
France
Joined: 2006-06-16
Posts: 24
Points: 0

CSS not taken into account in firefox

SOOOOO if I understand correctly, I should resave all my pages in UTF-8?
do I also change all the meta tags?
I don't need to escape my characters in my HTML, though, do I?

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 40 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

CSS not taken into account in firefox

:? iso latin-1 should be fine for accented charecters, all files saved as plain ASCII

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 12 hours 25 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9743
Points: 3822

CSS not taken into account in firefox

frenchgirl wrote:
SOOOOO if I understand correctly, I should resave all my pages in UTF-8?
As that or as iso-8859-1.
Quote:
do I also change all the meta tags?
It should match your encoding.
Quote:
I don't need to escape my characters in my HTML, though, do I?
Not for those encodings. If you save as ASCII or ANSI, yes, since those characters are not a part of the character set.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.