I need help, 2 questions. :)
Hey, im new to php n relativly new to scripting but i was wondering if there's a working code (ima show what i want to do) for this..
Code:
Number 1.
<?php $style1
$style2
$browser = getenv("HTTP_USER_AGENT");
if $browser = mozilla;
<link href="style.css" rel="stylesheet" type="text/css" />;
else
<link href="style2.css" rel="stylesheet" type="text/css" />;
?>
Well as you might notice, im trying to use a different stylesheet depending on if its FF or IE (IE = else)
Number 2
id like to make the middle of my page into a "frameish thing"(<div id="index"> but not a frame. jus need the menu and banner/logo to NOT reload for the visitors.. would be cool. you can see how the site looks atm http://underground.ninetwozero.com <--- my "beta" site.
peace - Kalle
edit: the site looks f*cked up in IE?! :S