[wp-hackers] OT: CSS in Firefox & NS

Brian Groce wp at briangroce.com
Wed Feb 23 15:44:23 GMT 2005


I'm creating a theme but have ran into a CSS problem and was wondering 
if anyone has seen this issue before.

I've tried three ways of including CSS and am only setting the body 
background color...

=======================================
#1

<style  type="text/css" media="screen">
   body { background: #DEDEDE; }
</style>

=======================================
#2

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" 
type="text/css" media="screen" />

=======================================
#3

<style type="text/css" media="screen">
  @import url( <?php bloginfo('stylesheet_url'); ?> );
</style>

=======================================

All three work fine in IE and Opera, but only option #1 works in Firefox 
& NS.  I have the same issue with two default themes and the WP admin area.

But, here's what I really don't understand...I have multiple domains on 
the same server (a reseller account) and this isn't an issue on every 
domain.  Some work just fine.

If anyone has some insight I'd greatly appreciate it.

Thanks,

Brian


More information about the hackers mailing list