Page 1 of 1

css problem in firefox/ie

Posted: Mon Sep 18, 2006 4:42 am
by jenr
I really like this blog - thanks! - and have installed it on several sites, but am having trouble w/new install on startlogic shared server.

http://lostbirdproject.com/serendipity/

Doesn't load stylesheet to FF/IE, but looks great in Safari.

v1.0.1 (other installs were v0.8.2) - the only difference I could see off the bat was charset changed - set this manually to old settings, but no-go.

Have also tried hard link to style.css - doesn't change a thing.

I modded the template style.css and index.tpl

Have tried a couple of things suggested in other threads but it still looks lousy.

Thanks in advance,
Jen

Posted: Mon Sep 18, 2006 5:40 am
by judebert
Wow, looks great, except for the important part. :roll:

When I look at your page source, I see a lot of inline style. Where did it come from?

Is there any change when you turn on/off the XHTML compliance plugin?

I tried making changes in EditCSS, but nothing took. That's highly unusual, and usually indicates a CSS error. Do you have this problem with any other templates, or only this one?

Posted: Mon Sep 18, 2006 6:05 am
by jenr
Thanks!

Inline style before content is residual from copy&paste of menu, and also patch since css isn't being read just to correct bgcolor.

Are you seeing any *after* content starts??

xhtml compliance doesn't seem to make a difference.

Hmmm - just changed templates and in Safari it kept the *old* template css and FF switched to new template's css. A clue?

I'll leave it like this for a while so you can diagnose.
Off to work now - whee!

Thanks,
Jen

Posted: Mon Sep 18, 2006 7:32 pm
by judebert
Yes, there were inline styles for outline or some such. I'll bet it was the scripts I was running. Disregard the earlier comment. :oops:

The new theme looks good in FF and IE on WinXP. Safari might be using a CSS cache that didn't get updated; you'll want to try clearing its cache and reloading (sometimes shift-reload or control-reload will do the job quickly).

Since switching to the default template fixes the problem, I can at least confirm that Serendipity and its plugins are functioning as expected. Something in the earlier template is either broken, or colliding with a plugin (although that's less common). My guess would be the style.css modifications broke something, but I'm just not good enough at CSS to spot it in that stylesheet.

Found it. Der.

Posted: Wed Sep 20, 2006 1:55 am
by jenr
Thanks for your help, judebert -

It was a simple syntax error (missing "}" ) in my css mod. Apparently Safari didn't mind so much, but FF and IE were very confused.
Changing styles was a clear indication that I had broken it :(

Check out the improved version: http://lostbird.com/serendipity

Jen

Posted: Wed Sep 20, 2006 7:54 pm
by judebert
I assume that's http://lostbirdproject.com/serendipity -- and it looks great. I don't really go for dark themes, but the red-black-yellow in this one is quite striking.