Re: Php and CSS where to put it

From: Date: Mon, 12 Jan 2009 21:27:49 +0000
Subject: Re: Php and CSS where to put it
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-286157@lists.php.net to get a copy of this message
At 7:38 PM +0100 1/12/09, Michelle Konzack wrote:
Hello Terion, Am 2009-01-12 10:42:10, schrieb Terion Miller: I have this code and the css seems to not work in IE at all, do I need to put it somewhere different on the page maybe? The CSS must be in the HTML Header like <html> <head> <title>CSS Example</title> <link rel="stylesheet" type="text/css" href="inc/styles.css"> <style type="text/css">
    #body { background-color: magenta; }
</style> </head> <body> ...rest of the page
Today must be my "Arrrgggg" day. Don't embed css in document -- just put what you want in your css file. If IE has a problem with it, then deal with IE within the css file. There are css hacks if you can't find a way around the problem. But embedding css style rules is a real "no-no" in my book -- there's no reason to do it. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#286157) next »