I have just installed XMPP and I have brought one of my live sites to start working with it from the local host .
Then to look at my site, I have navigated to a local host / example
I noticed some issues with images on my html, for example I:
& lt; Img src = "/ new_pictures / 05.jpg" alt = "central market" / & gt;
The image is not showing, but then I deleted /
and it works:
I have a similar problem with CSS background image, but I can not get it to work - if I / I get it out then the live site does not appear on the image How can a background picture be shown on the local host?
Example CSS (works on live site but not local host):
.outeremailcontainer {height: 60px; Width: 275px; Background Image: URL (/images/feather_email2.jpg); Text-align: center; float right; Status: Relative; Z-index: 1; }
Thanks!
Your image styles should have image paths where the image is relative to the stylesheet , for example If your The Css
file is on your site in such a directory:
/css/styles.css
Your way should look like this ( Go to a directory, then in pictures
)
background image: url (../images/father_email2.jpg);
Comments
Post a Comment