aznkidzx Posted March 3, 2009 Share Posted March 3, 2009 Hello! I am coding an image hosting template and is having some difficulty. I have done the logo and the links. I tried to do the wrapper, but it wouldn't show up. In my style.css there is already a #wrapper with an image of img/wrapper.png. It just wouldn't show. Here's wrapper.png So far, it won't show in my html page. This is what i got so far.. http://imghack.aznkidzx.co.cc/ Quote Link to comment https://forums.phpfreaks.com/topic/147813-wrapper-problem/ Share on other sites More sharing options...
haku Posted March 4, 2009 Share Posted March 4, 2009 Wrapper doesn't equal wrapper. This is why it's best to always use capitals, or always use small letters. Mixing them makes for screw ups like this. If you always default to one or the other (and small letters is best), then you won't even have this problem. Quote Link to comment https://forums.phpfreaks.com/topic/147813-wrapper-problem/#findComment-775979 Share on other sites More sharing options...
aznkidzx Posted March 4, 2009 Author Share Posted March 4, 2009 Cheers man! Quote Link to comment https://forums.phpfreaks.com/topic/147813-wrapper-problem/#findComment-776612 Share on other sites More sharing options...
aznkidzx Posted March 4, 2009 Author Share Posted March 4, 2009 Wait dude ;\ it still doesn't work D; Quote Link to comment https://forums.phpfreaks.com/topic/147813-wrapper-problem/#findComment-776614 Share on other sites More sharing options...
haku Posted March 5, 2009 Share Posted March 5, 2009 It works in firefox, but not in IE. The most likely reason is that you have some pretty big errors in your code. I figure that it's one of these two: 1) You have no opening body tag 2) In XHTML, you cannot overlap tags. So this: <div><form></div></form> is not allowed. Tags can only be contained in other tags. So the above would have to be: <div><form></form></div>. You have your div and form tags overlapping, which is probably what is causing the problem. You should try validating your code. You can see the validator here: http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fcssbutton.com%2Fforms%2F One note on validating code: Always fix the top error, then re-validate. The first error often reverberates down the page, and the validator sees 10 more errors that aren't actually there once you fix that first error. So if you fix one error at a time (the top error), it makes your job a lot easier. Quote Link to comment https://forums.phpfreaks.com/topic/147813-wrapper-problem/#findComment-776940 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.