4 replies [Last post]
xtremebytes
Offline
newbie
Last seen: 11 years 26 weeks ago
Joined: 2003-04-01
Posts: 2
Points: 0

Please see the website http://www.topnotchcatering.co.uk with Internet Explorer 5.x or above and then with Netscape or Mozilla. You will notice that in non-IE browsers the fonts in the bottom frame and the middle frame are not the same as those displayed in IE.

However, similar use of stylesheet works perfectly with http://www.createevent.com.

Could you please let me know what may be the reason. Thanks.

nexia
nexia's picture
Offline
Regular
Last seen: 11 years 27 weeks ago
Timezone: GMT-5
Joined: 2003-03-22
Posts: 42
Points: 0

Style sheet problem

1- would be better for you to send your test in Site Checks forum...

2- the < tr> tags don't deal well with css fonts... forget this class...

3- < script language="JavaScript"> have to be: < script language="JavaScript" type="text/javascript"> to follow the html 4.1 protocol... Smile

these are not related to the error you talk about, i will let the CSS guys do their job...better than me... but i tell you other details that can help...

nexialism source of all knowledges

nexia
nexia's picture
Offline
Regular
Last seen: 11 years 27 weeks ago
Timezone: GMT-5
Joined: 2003-03-22
Posts: 42
Points: 0

Style sheet problem

for your example, they use Tahoma in their stylesheet, instead of Arial like you.... problem with fonts is that they're not all supported by browser... you need to complay with css styles to make them work well...

it's also useful to be validated by some sort of tool that will give you the errors you have:

http://jigsaw.w3.org/css-validator/validator?uri=http://www.topnotchcatering.co.uk/css/styles.css

this is your result for the class you tell us... take a look at a BIG css file that is mostly perfect for the validator..:

http://jigsaw.w3.org/css-validator/validator?uri=http://mini-merveilles.com/mini.css

anyway, it's different, but you can peak and see the difference.. .all my fonts are very documented, with details on size, font families, etc...

nexialism source of all knowledges

xtremebytes
Offline
newbie
Last seen: 11 years 26 weeks ago
Joined: 2003-04-01
Posts: 2
Points: 0

Style sheet problem

Thanks very much indeed.

I have figured out the error and fixed the problem. I'll upload the stuff soon. It may not be in accordance with strict rules, but the corrected version should display alright. I tested it on Netscape 7.0 and Internet Explorer 6.

Thanks.

Daniel
Daniel's picture
Offline
Enthusiast
Last seen: 18 weeks 6 days ago
Timezone: GMT+10
Joined: 2003-03-12
Posts: 76
Points: 0

Moved...

Moved to the Site Checks forum...