I have to display this site in 30 minutes.But it's no good when it doesn't show any Explorer (mac & pc).
It works fine in all the mozilla based browsers and Safari. Even on Linux. But no Explorer.
It validates in xhtml and css at w3.org.
Urgent! CSS. Site not showing.
Try this instead:
<style type="text/css" media="screen">
@import url(scripts/complexLayout.css);
@import url(scripts/complex_hnav.css);
</style>
... QUICK!
Urgent! CSS. Site not showing.
Just a bit of info on the above...
Looking quickly, it seems to be the thing that'll be causing your problem. You've got the url enclosed in quotemarks without the url() declaration. Whilst normally using quotemarks is okay with url declarations, certain browsers can't handle it correctly.
Thus, always stick with the format: url(css/styles.css) on all url declartions in CSS.
This is of course, if it's the problem you are experiencing.
Urgent! CSS. Site not showing.
Thanks there. I'm trying hard to get all the css as correct as possible, but it's fairly complex sometimes...
But the error was actually an Explorer bug.
When linking to an external java script file you can't end it with
/>
, but must use ></script>
even though the first method is xhtml valid. This only goes for external javascripts, and not for css. Weird.
There is still a (3 different) problem with Explorer 6/win and 5.2/Mac, 5.2.3/Mac, but that's for tomorrow. Now I'm taking the night off.