Strange code in body tag overwriting background-color

  • Author
  • #348998

    hello there,

    i have a strange problem, i use the contempt v2 theme and i want to change the background image, which i have done so far. but it doesnt work, i found out why: in my header.php is written that code:

    <body style=”background: url(<?php bloginfo(‘stylesheet_directory’); ?>/images/blue_flower/bg.jpg) repeat-y top center #AAAAAA fixed;”>

    and if i look into the source code of the generated file, it shows correctly:

    <body style=”background: url( repeat-y top center #AAAAAA fixed;”>

    but still i just see a grey background, and here comes the strange thing: if i check the page with firebug, it shows:

    <body style=”background: rgb(170, 170, 170) url( repeat-y fixed center top; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;”>

    and it seems the rgb code here is the grey that i see and i ask myself: where and why and how is WP automatically adding that code, what are these -moz-things for, why do i see them just in firebug, not in the source code, what strange behaviour is this and how can i stop it?

    thanks very much

The topic ‘Strange code in body tag overwriting background-color’ is closed to new replies.