Skip to main content
Known Participant
May 27, 2011 3:24 AM UTC
Question

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

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;

     }

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Community Expert
May 27, 2011 3:10 PM UTC

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
Known Participant
May 27, 2011 3:21 PM UTC

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