I wonder if you've ever experienced such a situation. In the same folder
1 <!DOCTYPE HTML>2 <HTML>3 <Head>4 <MetaCharSet= "Utf-8">5 <title></title>6 <Linkrel= "stylesheet"href= "Index6.css"type= "Text/css" /> 7 </Head>8 <Body>9 <Divclass= "Body">Ten I want to show the background picture One </Div> A </Body> - </HTML>
danganbaoguan2
1 *{2 padding:0;3 margin:0;4 List-style:none;5 Text-decoration:none;6 }7 . body{8 9 margin:0 Auto;Ten background:red; One width:963px; A height:642px; - -}
Index6.css
In Google, Firefox, Cheetah, 2345 and other browsers will display a red background image. But in IE8 above but there is no red background picture, that means that IE8 above the external introduction of CSS is not successful.
The solution: is to <! DOCTYPE html> into <! Doctype> at this time again, IE8 above the successful appearance of red background picture
About IE8 does not elicit CSS symptoms