दिखाई नहीं दे रहा है मैंने पहले ही अपना यूआरएल और फाइलों का नाम दोबारा जांच लिया है, लेकिन मुझे छवि दिखाने के लिए प्रतीत नहीं होता है। ऐसा क्यों है? यहां मेरा कोड है (ध्यान दें <p>
शरीर टैग के अंदर है, मैंने पूरा कोड नहीं जोड़ा है, मैंने केवल सिर और विशिष्ट समस्या को जोड़ा है)।एचटीएमएल और सीएसएस पृष्ठभूमि-छवि
background-image: url(../images/background.gif);
../
यह एक छवियों के लिए लग रही है बिना अपने स्टाइलशीट फ़ोल्डर के अंदर फ़ोल्डर जो मौजूद नहीं है:
<html>
<head>
<title>Head First Lounge.</title>
<link type="text/css"
rel="stylesheet"
href="stylesheet/style.css"
media="screen"/>
</head>
<p class = "guarantee">
Our guarantee: at the lounge, we're committed to providing you,
our guest, with an exceptional experience every time you visit.
Whether you're just stopping by to check in on email over an
elixir, or are here for an out-of-the-ordinary dinner, you'll
find our knowledgeable service staff pay attention to every detail.
If you're not fully satisfied, have a Blueberry Bliss Elixir on us.
</p>
और यहाँ वह हिस्सा
.guarantee{
background-image: url(images/background.gif);
font-family: "Geogia", "Times New Roman", Times, serif;
border-color: black;
border-width: 1px;
border-style: solid;
background-color: #a7cece;
padding: 25px;
margin: 30px;
line-height: 1.9em;
font-style: italic;
color: #444;
}
चित्र के url क्या है? /images/background.gif या /stylesheet/images/background.gif – KingCronus
यह छवि/background.gif स्थित है। वह मुख्य HTML पृष्ठ है। – user962206
'पृष्ठभूमि-छवि बदलें: url (../ images/background.gif) ' –