Write like this:
.wrapper:after {
content: '';
display: block;
clear: both;
}
Check this http://jsfiddle.net/EyNnk/1/
More Related Contents:
- Blank Space To Right Of Webpage? (Hidden min-width?) [closed]
- div 100% width with other div fixed
- Trying to work on responsiveness of login form
- One flex/grid item sets the size limit for siblings
- CSS Pseudo-classes with inline styles
- Are the decimal places in a CSS width respected?
- Can ordered list produce result that looks like 1.1, 1.2, 1.3 (instead of just 1, 2, 3, …) with css?
- How to apply a style to an embedded SVG?
- How do I get this CSS text-decoration override to work?
- Why does position:relative; appear to change the z-index?
- Align an element to bottom with flexbox
- Does opacity:0 have exactly the same effect as visibility:hidden
- Browser Caching of CSS files
- Flexbox and Internet Explorer 11 (display:flex in ?)
- How to change scroll bar position with CSS?
- Is it possible to style a mouseover on an image map using CSS?
- Bootstrap: add margin/padding space between columns
- Changing highlight color
- Why doesn’t “display: block” & “width: auto” stretch a button to fill the container? [duplicate]
- How to change content on hover
- How to cut a circular part from an image?
- Tooltip with HTML content without JavaScript
- Change color of one character in a text box HTML/CSS [duplicate]
- Stretching tag to fill entire
- How to keep :active css style after click a button
- Blank iFrame in IE
- Make a perfect circle around a div of variable height
- Is it possible to hide the title from a link with CSS?
- display: flex not working on Internet Explorer [duplicate]
- Fitting child into parent