Home > front end >  Why couldn't display the background picture in the div?
Why couldn't display the background picture in the div?

Time:09-23




<meta charset="utf-8" & gt;

<style type="text/CSS" & gt;
# wrap {width: 900 px; Height: 520 px; margin: auto; border-color: red; border-width: 2px; border-style: solid; margin-top: 5px; }
div{text-align: center; }
# PIC {width: 420 px; height: 300px; Background - image: url (../img/ex9%20 (1). The JPG); background-repeat: no-repeat; Background - position: center center; float: left; Background - color: # 77 a; }
# text {background - image: url (ex9%20 (1). The JPG); float: right; Width: 420 px; height: 500px; Background - color: # 77 a; padding: 10px; font-weight: bold; }
# title {the font-family: Chinese clouds; font-size: 32px; }
# author {the font - size: 12 px; The font-family: black body; text-align: right; Margin - bottom: 24 px; }
P {the font-family: official script; font-size: 24px; border-width: 2px; Letter - spacing: 0.5 em. The line - height: 1.5 em. text-align: center; }
</style>

<body>



If life only such as first, & lt;/p>

What the autumn wind sad picture fan, & lt;/p>

Afford to become so the heart however, & lt;/p>

But way so the heart variable, & lt;/p>

Mount li qing "rain night half, & lt;/p>

The rain of tears bell will not complain, & lt;/p>

How to giving her ficklefavours only jinyi, & lt;/p>

Colorful renshi day, & lt;/p>






CodePudding user response:

Image name change
Ex9%20 (1). The JPG -- -- -- -- -- -- -- -- & gt; 1.jpg

CodePudding user response:

Url (ex9%20 (1). The JPG) style introduced in picture is not standard the name change

CodePudding user response:

Code do not have what problem, should your url (address), and pay attention to, the font-family: font to add English in quotation marks
  • Related