Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>1) position:absolute/relative;</p> </blockquote> <p>Can be part of a layout, not necessarily.</p> <blockquote> <p>2) float:left/right; clear</p> </blockquote> <p>Yes, float is commonly used for layouts.</p> <blockquote> <p>3) display: inline-block;</p> </blockquote> <p>This is rarely if ever used for page layouts, and support for it is buggy (it's also white-space sensitive).</p> <blockquote> <p>4) display: table-cell; (isn't it the same as html-tables?)</p> </blockquote> <p>No, it's not the same as using HTML tables. Tables are in your markup (content), <code>display:table-*</code> is part of your CSS (presentation). This is a nice way to tackle a layout but once again, support is not totally there for older browsers.</p> <blockquote> <p>5) html-table (but that's not css or semantic)</p> </blockquote> <p>You're right, don't use this, tables are for marking up tabular data, not for layout.</p> <blockquote> <p>6) css3 columns (less support or not?)</p> </blockquote> <p>Once again, support isn't really there, and I believe this is meant for text more than for layout (even if it could be used for both).</p> <blockquote> <p>What is best practice with best browser support?</p> </blockquote> <p>If you're looking for a <em>general</em> answer, you want to build this yourself, and you're concerned with browser support, just use <code>float</code>s, with relative/absolute positioning if necessary. Make a decision on exactly which browsers you want to support, and as always, <strong>test</strong> your layout in different browsers to see what works and what doesn't. There is no magic bullet, the devil's in the details.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload