timecatcher Posted February 28, 2009 Share Posted February 28, 2009 Hey ok well I have some css that is linked to and clearly working as its moving my signup.php file into the right place however the images dont seem to be displaying and I can't for the life of me understand why. @charset "utf-8"; /* CSS Document */ #banner{ left: 0px; top: 0px; width: 1180px; height: 123px; color: #000000; postion: absolute; background-image: url(/banner.png); } #nav{ left: 0px; top: 123px; width: 157px; height: 250px; color: #000000; postion: absolute; background-image: url(/block.png); } #content{ top: 210px; left: 160px; height: 1500px; width: 1050px; color: #000000; position: absolute; overflow: auto; } Quote Link to comment https://forums.phpfreaks.com/topic/147359-solved-cssphp-issue/ Share on other sites More sharing options...
ratcateme Posted February 28, 2009 Share Posted February 28, 2009 where are the images located? could you find banner.png at http://yoursite.com/banner.png ? that is where the browser is looking Scott. Quote Link to comment https://forums.phpfreaks.com/topic/147359-solved-cssphp-issue/#findComment-773491 Share on other sites More sharing options...
timecatcher Posted February 28, 2009 Author Share Posted February 28, 2009 There located at myurl.co.uk/layout/images/banner.png. I tried typing all that in and still nothing yet they work when I go to the raw URL. TC. Quote Link to comment https://forums.phpfreaks.com/topic/147359-solved-cssphp-issue/#findComment-773493 Share on other sites More sharing options...
ratcateme Posted February 28, 2009 Share Posted February 28, 2009 try changing the links in your css to layout/images/banner.png and layout/images/block.png Scott. Quote Link to comment https://forums.phpfreaks.com/topic/147359-solved-cssphp-issue/#findComment-773498 Share on other sites More sharing options...
timecatcher Posted February 28, 2009 Author Share Posted February 28, 2009 Alright fixed, im just an idiot and I didn't echo out the banner and other bit. Thanks for your help guys. TC. Quote Link to comment https://forums.phpfreaks.com/topic/147359-solved-cssphp-issue/#findComment-773500 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.