我是新来的CSS和HTML。我做了一个应用程序,并在HTML和CSS的页面。这是我的网页的图片:多个图像对齐问题在css
,第二个是主页,也就是用户页面
这是我的.css文件的代码片段:
body{
background-color:#D8D8D8;
background-image:url("../images/spring.png"), url("../images/security.png");
background-size:200px 100px, 200px 100px;
background-repeat:no-repeat, no-repeat;
background-position:top right, bottom right;
margin-right:200px;
margin-left:15px;
}
问题:正如你所看到的,两页中的图像不对齐,我需要第二个图像位于页面的底部,就像第一个图像位于页面的最顶部。任何人都可以指导我如何去做。我很抱歉这门语言太糟糕了。谢谢。
请你能引导我米矿石。我的意思是你可以更精确的如何添加到HTML?我在正文中添加了,但在html中添加的位置?谢谢 – AbdulAziz 2012-02-29 09:25:58
'html {height:100%; }' – bookcasey 2012-02-29 15:39:06