papillonstudios Posted May 2, 2010 Share Posted May 2, 2010 I installed an old script that i made a while ago and when i loaded it up in firefox the css isnt working. So i tried it in Safari and it works. whats going on? It worked before in firefox Quote Link to comment Share on other sites More sharing options...
Hybride Posted May 2, 2010 Share Posted May 2, 2010 Without the script, there's no way of knowing what's "exactly" wrong with the code. However, an upgraded FF browser may not view the same as the browser you built for (so FF1 or 2 would not look exact as on 3, due to new CSS constraints, etc.). Quote Link to comment Share on other sites More sharing options...
papillonstudios Posted May 2, 2010 Author Share Posted May 2, 2010 <?php $nav = $_GET['page']; secure($nav); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Website Title</title> <link rel="stylesheet" type="text/css" href="../style.css" /> </head> <body> <div class="container"> <div class="header"> <img src="images/header.jpg" alt="header" /> </div> <div id="navcontainer"> <ul id="navlist"> <li id="active"><a href="index.php" id="current">Home</a></li> <li><a href="index.php?page=prices">Prices</a></li> <li><a href="index.php?page=portfolio">Sites</a></li> <li><a href="index.php?page=aboutme">About Me</a></li> <li><a href="index.php?page=contact">Contact Me</a></li> <li><a href="http://kinergia.com" target="_blank">Kinergia</a></li> </ul> </div> <div class="content"> <?php //Use a switch statement to go through the URLS. switch ($nav) { case "prices": include ('prices.php'); break; case "aboutme": include ('about.php'); break; case "portfolio": include ('sites.php'); break; case "contact": include ('contact.php'); break; default: include ('default.php'); break; } ?> </div> <div class="footer"> Hosted By: <a href="http://kinergia.com">Kinergia, LLC</a> | Part of: <a href="http://gamingfusion.net">GamingFusion Network</a> | Copyright 2010 <a href="http://chadwgregory.com">ChadWGregory</a> </div> </div> </body> </html> Quote Link to comment Share on other sites More sharing options...
runawaykinms Posted May 14, 2010 Share Posted May 14, 2010 Do you also have the CSS stylesheet avaliable? Can you post that as well? Quote Link to comment Share on other sites More sharing options...
haku Posted May 14, 2010 Share Posted May 14, 2010 Please don't post PHP in the CSS section of the forum. Run your PHP script, copy the HTML output, and paste that into here instead. PHP is irrelevant to CSS. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.