CSS 制作与操作(6)
background: url(images/left-top.gif) top left no-repeat; width:100%; }
.rounded h2 { background: url(images/right-top.gif) top right no-repeat;
padding:20px 20px 10px; margin:0; }
.rounded .main { background: url(images/right.gif) top right repeat-y; padding:10px 20px; margin:-2em 0 0 0;
}
.rounded .footer { background: url(images/left-bottom.gif) bottom left no-repeat; }
.rounded .footer p { color:#888; text-align:right;
background:url(images/right-bottom.gif) bottom right no-repeat; display:block;
padding:10px 20px 20px; margin:-2em 0 0 0; }
#header,#pagefooter,#container{ margin:0 auto; width:760px; }
#container{
position:relative; }
#content{ position:absolute; top:0; left:0; width:500px; }
#content img{ float:right; 图片使用浮动设置,文字会围绕它排列。 }
#side{ margin:0 0 0 500px; }
Page Header
查看详细信息>>
Page Content 2 对于一个网页设计者来说,HTMCSS,并对CSS进行初步的体验。
查看详细信息>>Side Bar 对于一个网页设计者来说,CSS在这中间扮演着重要的角色。
但是如果希望网页能够美观、间扮演着重要的角色。
查看详细信息>>Page Footer 这是一行文本,这里作为样例,显示在布局框中。
查看详细信息>>
