Copy link to clipboard
Copied
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;
}
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Find more inspiration, events, and resources on the new Adobe Community
Explore Now