Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Safari hates my CSS


SimpleSurfer

Recommended Posts

Posted

Aloha Gang,

 

First off, thank you for reading this post.

i have to admit, that i never use safari... i never develope for safari, and i think that most people who use safari are accustomed to errors. for one reason or another, people seem to like it, and noow my client is an avid safari fan and im forced to make it compatible...

 

so heres my best guess::

 

safari seems to not be picking up my stylesheet... fire fox IE and Opera are work perfectly... Safari just doesnt.

 

is there any chance some one can help me with this ? i dont know where to start.

 

domain is HAWAIIA^NBEAC^HCA^MS.COM (with out the ^s)

 

 

thank you very much

Posted
Aloha Gang,

 

First off, thank you for reading this post.

i have to admit, that i never use safari... i never develope for safari, and i think that most people who use safari are accustomed to errors. for one reason or another, people seem to like it, and noow my client is an avid safari fan and im forced to make it compatible...

 

so heres my best guess::

 

safari seems to not be picking up my stylesheet... fire fox IE and Opera are work perfectly... Safari just doesnt.

 

is there any chance some one can help me with this ? i dont know where to start.

 

domain is HAWAIIA^NBEAC^HCA^MS.COM (with out the ^s)

thank you very much

 

I can't be much help - be perhaps you could try referecning your stylesheet directly instead of using paths :

<link rel="stylesheet" type="text/css" href="http://hawaiianbeachcams.com/templates/conrad/stylesheet.css">

<link rel="stylesheet" type="text/css" href="http://hawaiianbeachcams.com/calendar.css">

 

Or - try dumping the CSS directly into a web page and put it inside a style tag within the head - just to see if it works :

<style type="text/css">

dump all your styles here

</style>

</head>

 

If this works - then you could try putting your stylesheet into an html file, and then just run a require stamtenet using php :

<?php require '/path/to/your/html/file/which/is/actually/your/styelsheet'; ?>

 

Isn't it most likely that he has the stylesheets disabled in the Safari browser ? Not much you can do about that - except wrtie good code in strcit xhtml so that your page degrades nicely when stylesheets are turned off.

 

Also - you could make sure your are error free :

http://www.yellowpipe.com/yis/tools/css-validator/index.php

 

You could also take a look at this :

http://developer.apple.com/internet/webcon...bestwebdev.html

 

Jonathan

Posted
Aloha Gang,

 

First off, thank you for reading this post.

i have to admit, that i never use safari... i never develope for safari, and i think that most people who use safari are accustomed to errors. for one reason or another, people seem to like it, and noow my client is an avid safari fan and im forced to make it compatible...

 

Actually, i've had better results with Safari than IE. Never had to code around Safari, but IE on the other hand is a nightmare. IE is so non-compliant to web standards that one is constantly hacking their code to make something work right in IE.

 

I don't understand what you mean that people who use safari are accustomed to errors, since its more compliant than IE.

 

People on Macs like it because it comes with their machine and IE isn't supported by Microsoft on the Mac. Therefore, they use Safari, which isn't a bad browser at all. I prefer Firefox, but to each their own.

 

Looking at your page in FireFox and Safari, it looks identical. You do have a few CSS coding errors in your stylesheet, maybe that could be causing the problem. As far as I know, you can't turn off CSS in Safari.

Posted
Aloha Gang,

 

First off, thank you for reading this post.

i have to admit, that i never use safari... i never develope for safari, and i think that most people who use safari are accustomed to errors. for one reason or another, people seem to like it, and noow my client is an avid safari fan and im forced to make it compatible...

 

so heres my best guess::

 

safari seems to not be picking up my stylesheet... fire fox IE and Opera are work perfectly... Safari just doesnt.

 

is there any chance some one can help me with this ? i dont know where to start.

 

domain is HAWAIIA^NBEAC^HCA^MS.COM (with out the ^s)

thank you very much

I see the same css in Safari and Firefox/Mac and in IE Windows. so don't know what you're referring too.

Posted

Hi,

 

I also have this problem. Some of my sites in Safari are just not displaying correctly.

i'm pretty sure there is nothing wrong with the doctype:

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<HTML <?php echo HTML_PARAMS; ?>>

<HEAD>

<META http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<TITLE><?php echo TITLE; ?></TITLE>

<BASE href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<LINK rel="stylesheet" type="text/css" href="stylesheet.css">

 

I've tried an absolute path to the stylesheet but it still doesn't work.

One of the sites in question is here.

 

Please can anyone offer any suggestions???

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...