3raser Posted July 31, 2010 Share Posted July 31, 2010 body{background-color:#000066;} #outercontent{height:100%;width:650px;background-color:#003366;} #navigation ul{list-style:none;color:#3399CC;} #navigation{width:450px;height:40px;text-align:center;} #content a:hover{text-weight:bold;color:#0066FF;} #content{margin-left:auto;margin-right:auto;height:500px;width:450px;background-color:#3399CC;text-align:center;color:white;} File: <html> <head> <link rel="stylesheet" type="text/css" href="\theme\style.css" /> <title></title> </head> <body> <div id="outercenter"> <div id="center"> <div id="navigation"> <?php include("navigation.php"); ?> </div> </div> </div> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/209409-why-doesnt-navigation-content-or-outerrcontent-show-up/ Share on other sites More sharing options...
Pikachu2000 Posted July 31, 2010 Share Posted July 31, 2010 I would think it's the path in the <link> tag. If you try it temporarily as an include() with that path, you'll know if it's right of not. Quote Link to comment https://forums.phpfreaks.com/topic/209409-why-doesnt-navigation-content-or-outerrcontent-show-up/#findComment-1093423 Share on other sites More sharing options...
3raser Posted July 31, 2010 Author Share Posted July 31, 2010 No, it's not that. http://coolscripts.webatu.com/ The background already shows up. Quote Link to comment https://forums.phpfreaks.com/topic/209409-why-doesnt-navigation-content-or-outerrcontent-show-up/#findComment-1093426 Share on other sites More sharing options...
Pikachu2000 Posted July 31, 2010 Share Posted July 31, 2010 The divs don't have the same names as the elements in the CSS . . . outercontent vs. outercenter, content vs. center . . . Quote Link to comment https://forums.phpfreaks.com/topic/209409-why-doesnt-navigation-content-or-outerrcontent-show-up/#findComment-1093429 Share on other sites More sharing options...
3raser Posted July 31, 2010 Author Share Posted July 31, 2010 The divs don't have the same names as the elements in the CSS . . . outercontent vs. outercenter, content vs. center . . . Thank you.... -.- Quote Link to comment https://forums.phpfreaks.com/topic/209409-why-doesnt-navigation-content-or-outerrcontent-show-up/#findComment-1093430 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.