Jump to content

Wrapper Problem


aznkidzx

Recommended Posts

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

wrapper.png

 

So far, it won't show in my html page. This is what i got so far..

 

http://imghack.aznkidzx.co.cc/

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.