What You Should Know About Floats
来源:互联网 发布:vscode react emmet 编辑:程序博客网 时间:2024/05/22 17:51
原文 http://coding.smashingmagazine.com/2007/05/01/css-float-theory-things-you-should-know/
key points 如下
1. A floated box is positioned within the normal flow, then taken out of the flow and shifted to the left or right as far as possible.
Floated boxes will move to the left or right until their outer edge touches the containing block edge or the outer edge of another float.
2. When you float an element it becomes a block box. This box can then be shifted to the left or right on the current line.
You should always set a width on floated items (except if applied directly to an image – which has implicit width). If no width is set, the results can be unpredictable.
0 0
- What You Should Know About Floats
- What you should know about salary plateau
- What You Should Know about The H.265 Video Codec
- What Every Programmer Should Know About Memory
- What every programmer should know about memory
- what every programmer should know about memory
- What every programmer should know about memory
- What you should know about Stored Procedure Universe in BI 4.0 ?
- You should know this about google(plus)
- 7 Python Libraries you should know about
- 5 XSS Exploits You Should Know About
- Configuring HBase Memstore: What You Should Know
- Something what you should know (floating point)
- What ASP.NET Developers Should Know About JavaScript
- What ASP.NET Programmers Should Know About Application Domains
- 《What Every Programmer Should Know About Memory》在线阅读地址
- note What Every Programmer Should Know About Memory
- 【翻译】what every programmer should know about time
- Bidirectional OneToOne Relationships
- Java Applet与Java Application的区别
- 使用参数初始化表对数据成员初始化来求三角形(4)
- 自定义edittext,用于带删除的输入框和搜索框
- unity3d开发2d游戏时注意使用Assetbundle
- What You Should Know About Floats
- MyEclipse 9.0版本安装svn插件
- twm配置文件.twmrc
- Linux桌面发行版与Andoid GUI系统组件对比
- struts2 常用标签介绍
- ubuntu软件中心崩溃解决方法
- 让我们干净彻底的卸载Oracle
- Android 中数据的存储
- MFC模态对话框和非模态对话框