Hi,
I have an annoying problem! I just launched my site: http://www.sambastream.com and I customised Amity Island theme on Drupal 6.5 for the site. It works fine on FireFox, and works well on localhost when I view it on IE7. However as soon as I use IE7 with the online version, all styles are lost and you get what you can see there right now!
I have no idea even after Googling why it is doing this, and I need to fix it ASAP as this should be a production site! I've cleared all cache, checked all variables, it all works in FF3 and Safari, and apparently IE6, but IE7 just shows the page without any styles!
Can anyone look at the source and see if there's something wrong in the HTML causing this, or a bug in IE7 I'm not aware of?
Thanks,
David
Comments
doc type looks
doc type looks broken
site is not rendering correctly on Fx3, use the validator to check this sort of thing
try clean replacement with this
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
Yes I noticed this but...
Hi,
Thanks for the reply, I noticed this as well. however FF3 still looks OK. Also in my page template there is no error there, however the template is generating the DOCTYPE info again. Here is the top of my page.tpl.php:
As you can see - only declared as you mentioned. Any ideas where Drupal could be screwing it up on output?
Thanks,
David
www.davidgildeh.com
I see now.
Ok, I see the problem now - first body declaration block is open, no closing } curly brace (in style.css)
/* Default CSS */
/* Base Styles */
body {
padding: 0;
margin-top: 10px;
width: 100%;
/* Default CSS */
/* Base Styles */
Fx3 for me is totally hosed. Odd eh?
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
Ah! Good spot!
Yes. I think that might be a problem;) Also, since I put the DOCTYPE decleration on 2 lines like your code, now the duplicate DOCTYPE has dissapeared, but FF3 is also screwed up...I am validating it now and will fix the CSS error. Hopefully both of these should fix the problems!
Thanks,
David
www.davidgildeh.com
Sorry..
I have checked all the theme files, and I have no idea why the style.css is printing those initial lines of CSS in the style sheet all of a sudden! I've cleared the cache several times, switch off all performance settings, but somehow the CSS is getting the body tag initially printed at the top of the CSS before printing the rest of the style sheet.
I thought the style sheet was just sent as-is from the file? Is there anything Drupal does to the style sheets before its sent that could be causing this problem?
www.davidgildeh.com
Problem solved! (I think)
This may be a case of my FTP screwing up the file when I uploaded it. I've uploaded it again, and the problem appears to be fixed. Let me know if people are still getting errors!
Thanks
David
www.davidgildeh.com
Same problem here!
Hello Drazzig,
I have got the same problem without any luck to solve it. http://drupal.org/node/368704
Kind Regards
Ali Majdzadeh Kohbanani