Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Why Does DW Not Render My Page Correctly and Chrome Does ?

Community Beginner ,
May 26, 2011 May 26, 2011

Hi - I'm developing a site for WordPress. The site body has a background-image which gives a progressive soft grey to the page. If I display it in Chrome the background image renders perfectly well, but inside DW it is missing entirely. Doubly strange is that there is also another image around the #container and this renders perfectly well. Strange as DW and Chrome use the same layout engine. Have I done something wrong or is this a bug in DW ? Here is the sailent code:

Body{

     font-family: Arial, Helvetica, sans-serif;

     color:#666666;

     font-size: .75em;

     background-image: url(images/long_vertical.jpg);

     background-repeat:repeat-x;

     }

#container{

     background-image: url(images/whole_body.jpg);

     width:1034px;

     height:890px;

     margin: -15px auto 0px auto;

     }

TOPICS
Server side applications
472
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 27, 2011 May 27, 2011

Is it not rendering correctly in Design View or Live View?

Also what's the document type that you are using?  I have a feeling that correcting "Body" to "body" could correct the issue.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 27, 2011 May 27, 2011
LATEST

Thank you for your help !!

bringing my attention to the doc type ( utf 8 ) made me see that the doc type was placed below the obligatory Wordpress template description. Once I put it on the top of the css doc where it belongs it render perfectly well in live view.

The obvious defeats us !

Thanks Vincej 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines