Difference between revisions of "HTML/CSS"

From Things and Stuff Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
  display: block - default 100% width, flows vertically
 
  display: block - default 100% width, flows vertically
 
  display: inline - consumes width of content, flows horizontally
 
  display: inline - consumes width of content, flows horizontally
 +
 +
display: [http://www.brunildo.org/test/inline-block.html inline-block]
  
 
  float - floats element next to containing box or other floated element
 
  float - floats element next to containing box or other floated element

Revision as of 14:38, 27 February 2012