• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 273
  • Last Modified:

body tag

I have the background-image in the css body tag at this page, can anybody tell me why it's not showing up..??

www.consumer-info.info

0
cstormer
Asked:
cstormer
  • 2
  • 2
1 Solution
 
jessegivyCommented:
Could you post the css code where you assign the image filename from:

www_consumer-info_info-_files/style.css

The only thing I can see without looking at that code is that your table has a white bgcolor specified but you should be able to see the image around the outer edges of the table.
0
 
cstormerAuthor Commented:
body {
      margin: 0;
      background-image: url(images/bg.gif);
      }


also it is ignoring the body margin tag.. not sure wtf is up.. maybe there is a problem with the intergration with wordpress???
0
 
jessegivyCommented:
Add "px" after the zero for margin.  Is the margin supposed to set all four margins????  I thought it was done individually like this.  The background image part looks fine

      margin-left: 0px;
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 0px;
0
 
ldbkuttyCommented:
Remove the <style> and </style> tags in the CSS file. You dont need them.
0
 
cstormerAuthor Commented:
Nicelydone i think it was the <style> tags
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now