Home >Web Front-end >HTML Tutorial >How can I make the text move with the changes on the right side, and the left side move with the picture? css div tag_html/css_WEB-ITnose
The effect is like this:
Picture as background: background:url(kx100-d-001.png) 50% 50%;
Then, there are big words in the middle, Centered. But the small words below do not need to be centered, what should I do?
<span style="font-family: Arial, Helvetica, sans-serif;">#sdiv { float:left; width:100%; height:100%;font-family:"黑体",Arial, Helvetica, sans-serif; font-weight:100;}</span>
#sdiv1 {margin:10px auto 0px auto; width:100%; height:631px;padding:0px;background:url(kx100-d-001.png) 50% 50%; text-align:center;}#sdiv1 p { margin-top:30px; margin-bottom:0px; width:100%; height:auto;padding:0px; font-size:40px; color:#000}
This is Large characters should be centered
Copyright Statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.