6 replies
  • WEB DESIGN
  • |
I ask anyone now because I am desperate in fixing 1 last validation error at [Invalid] Markup Validation of http://www.earn-income-at-home.info/ - W3C Markup Validator

Beware, because it sounds easier than it looks. I did add a class and snippet to my external css file but for reason unknown, I simply cannot fix this last error.

Here is my page http://www.earn-income-at-home.info and my css is here http://www.earn-income-at-home.info/css/mystyles.css

Is anyone brave enough to adventure themselves into this? It's not a simple case of adding example

<td class="bg"> and css line such as

td.bg{background:url(../images/bg.jpg)} and say done!

The typical approach fails and template goes into chaos every time I attempt a move. FYI, the path is not the issue. Must be a conflict...:confused:

I am certain that I hadn't made a typo. I started this new thread because I wasn't getting enough folks in old thread to help me out on this one.

Anyone think they know the answer?

Bernard
#act #css #nightmare
  • {{ DiscussionBoard.errors[5570035].message }}
  • Profile picture of the author zulfnore
    Your CSS mark up is missing the ending ; before each of the closing }

    The problematic background element is with in the html doc and not the css file...
    table { background: url(images/bg.jpg);} is not defined in the css doc and therefore has no style associated with it.

    You could try calling it as an img src and see what happens
    {{ DiscussionBoard.errors[5570213].message }}
    • Profile picture of the author alcymart
      Originally Posted by zulfnore View Post

      Your CSS mark up is missing the ending ; before each of the closing }

      The problematic background element is with in the html doc and not the css file...
      table { background: url(images/bg.jpg);} is not defined in the css doc and therefore has no style associated with it.

      You could try calling it as an img src and see what happens
      I had taken it out as it was messing the whole template quite simply. I'll try img src... who knows...

      thanks...
      {{ DiscussionBoard.errors[5570510].message }}
  • Profile picture of the author alcymart
    Thank you all for your help which eventually led me to a solution. I needed to add a style in the html like so...

    style="background-image: url('images/bg.jpg');


    Bernard
    {{ DiscussionBoard.errors[5570781].message }}
  • Profile picture of the author kodshi
    Hi Bernard,

    your background image doesn't load in firefox ( I have firefox 3.6.26 )

    All the best
    Roy
    {{ DiscussionBoard.errors[5571256].message }}
  • Profile picture of the author kodshi
    My mistake, I had an add-on that disabled the images
    {{ DiscussionBoard.errors[5571756].message }}

Trending Topics