WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom, well kinda custom wordpress in only one page of my site, the background only displays in Internet explorer, no body or content just background though in firefox it's fine as with other browsers. Reverted back to the original twenty ten and it shows in IE. I know the code is horrible but it was a shot at making a custom theme and it worked fine before. If I thought I could fix it myself I wouldn't ask the pros here. You guys have helped me a ton !!

Also, if you view the source, it shows content being there.


Sincerely Mark

share|improve this question

closed as too localized by toscho May 23 '13 at 4:34

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 0 down vote accepted

In your initial style declaration that sets the background color:


You have an open HTML comment but no close. Close that and you should be fine.

share|improve this answer
Dear hereswhatidid, Thanks a million !!! that was it, I cannot believe it was that simple, working like a charm for a half cooked WP hacked html site. Such a small error I just couldn't see after hours of updating and re doing this from its original website. If there was a way to buy you a beer I would !! – Mark gDR Sep 26 '12 at 21:25
Glad to hear it! Just mark the answer as correct and we'll call it even, ok? – hereswhatidid Sep 26 '12 at 21:27
For Sure, please tell me where this is, I'm not seeing it – Mark gDR Sep 26 '12 at 21:29
Should be a checkmark below the up/down arrows next to my answer. – hereswhatidid Sep 26 '12 at 21:31
Done, and thank you, I will be looking for more of your help, I'm ecstatic, you know how it gets looking at code all the time, lol. – Mark gDR Sep 26 '12 at 21:33

Fix your html code errors; that will fix many display problems in IE as well as other browsers. See [Invalid] Markup Validation of shakedownnationals.com news - W3C Markup Validator. Scroll down in the validation report to see line numbers and source code. And then fix your CSS errors: http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fshakedownnationals.com%2Fnews%2F&profile=css3&usermedium=all&warning=1&vextwarning=&lang=en

share|improve this answer
songdogtech, thank you for your reply, I do understand that the code is pretty bad for errors, this site was done hastily and never really got it right. I will look more into getting all pages sorted out and fixed, you're right code is better when valid. "Hereswhatidid's" answer fixed it. Just one stupid <!-- caused it all without the close. – Mark gDR Sep 26 '12 at 21:21

Not the answer you're looking for? Browse other questions tagged or ask your own question.