Here is your solution, or at least a possible one. Internet Explorer was made by idiots, in my opinion. For this solution you will need PHP scripting, so you'll need a PHP enabled server. You'll have some Scripting query your browser to figure out which is being used, then after figuring that out it will direct the website to use a different set of Stylesheets.
Code:
<html>
<head>
<title>TITLE</title>
<?php
$agent = $_SERVER['HTTP_USER_AGENT''];
if (eregi("msie",$agent) && !eregi("opera",$agent))
{
echo "<link rel='stylesheet' type='text/css' href='style_ie.css' media='screen'>";
else
{
echo "<link rel='stylesheet' type='text/css' href='style.css' media='screen'>";
}
?>
</head>
<body>CONTENT</bdoy>
</html>
If The browser is Microsoft Internet Explorer then the website will use the style_ie.css else it will default to the style.css. What about inline? use the same method in the body however replace what is held in the `echo' with what ever content you have.
__________________
Code:
if( $hungry ) { eat(); }
else { sleep(); }
Last edited by BlackWater; 11-08-2007 at 12:47 PM..
|