页面布局及百度登录框
2017-04-23 21:09
183 查看
一、简单的页面布局的步骤
1.构思。在构思之前我们总需要了解很多,如:客户的需求、网站的定位、受众群等很多方面的事情。当我们真正了解客户需求后,你可以尽可能的发挥你的想象力,将你想到的"构思"画上去。2.粗略布局。在这个阶段,我们只要把重要的元素和网页结构相结合,看看框架是否合理、适合客户的需求。创造出物体的形象。页面的整体形象,应该是一个整体。
3.完善布局。当我们已经有一个很好的框架时,我们需要根据客户的要求将其所需的内容有条理的融入于整个的框架中,进入网页布局的阶段时,我们需要通过对图片的处理、空间的合理利用进行编排。
4.深入优化。针对些细节的更改和优化,比如说颜色饱和度、字体、间距的调整。最后根据现有的界面进行适当的调整,直至客户满意。
二、百度登录框
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/html"> <head lang="en"> <meta charset="UTF-8"> <style type="text/css"> #main { width:300px; height:350px; border:black solid thin; margin:60px auto; } #header{ background-color: darkgray; width:300px; margin-top:auto; padding: 0px; line-height:35px; } #context { margin-left: 25px; margin-right: 30px; } #login1{ margin-left: 25px; margin-right: 30px; margin-top: 10px; } #login2{ background-color: blue; text-align: center; width:240px; height:30px; margin-left: 25px; line-height: 30px; } </style> <title></title> </head> <body> <div id="main"> <div id="header"> <p > <img src="../img/baidu.jpg" style="width:40px;height:30px;text-align: center"/> <b >登录百度账号</b> </p> </div> <div id="context"> <p style="float:right;font-size:10px"> 短信快捷登录 </p> <p></p> <form> <input type="text" name="username" style="width:240px;height:30px"> <p></p> <input type="text" name="password" style="width:240px;height:30px"> </form> </div> <div id="login1"> <form> <input type="text" name="username1" style="width:100px;height:30px;"> <img src="../img/yanzhengma.jpg"style="width:80px;height:40px;clear:left;vertical-align: middle"/> <span style="font-size: 10px;float:right;margin-top: 10px">换一张</span> <p></p> <p style="font-size: 10px"> <input type="checkbox" > 下次自动登录 <a href="" style="float:right;font-size: 10px;line-height: 25px">登录遇到问题</a> </p> </form> </div> <div id="login2"> <p>登录</p> </div> </div> </body> </html>
相关文章推荐
- 漂亮的登录页面布局
- 如何布局登录页面
- 如何布局登录页面
- 主程序底部TabBar功能跟登录页面布局
- 页面缩放不影响布局方法,类似百度那样
- 盒子布局案例**登录页面login
- selenium+python登录登出百度,等待页面加载,鼠标定位
- 百度云管家使用QQ第三方登录时提示“由于网络原因无法载入页面 请点击刷新后重试”
- 解决登录页面软键盘弹出所有布局集体上移,不错乱。亲测可行。
- 百度登录页面
- 如何布局登录页面
- <div+css页面布局课堂笔记>7---登录和注册界面的实现
- 安卓登录页面的布局
- 使用Android常用控件与布局实现美观的登录页面
- 页面布局(--FlowLayout,--BorderLayout,--GridLayout)
- 用css+div进行页面布局
- PHP的页面布局怎样设计
- CCS bug之5: 已登录的用户点击Login.aspx时会出现"没有权限"的错误页面
- 鼠标旁边的提示信息,类似与163登录后的页面提示效果
- WebWork/JSP/Velocity建立登录页面