|
|
|
|
|
by einr
3428 days ago
|
|
That's a problem to be sure, but sometimes I wonder if this is much better: <div class="container">
<div class="maincontent">
<div class="col-md-4">
<div class="row">
<div class="col-md-8">
<div class="row">
<div class="header">
<div class="text-center">
<div class="brand-text">
|
|
Both are fixed in modern html5 which moves (back) towards simple, semantic, document layout (html-body-article-heading-etc).
With flex-box layout it's also quite easy to have the article/main content come first (possibly preceded by a header) - followed by sidebars and footer -- all as their own "top-level" boxes/containers.
In a classic table layout, there's an extra top level element in addition to "body" - the surrounding table.
And finally table layout is generally verbose and messy for other types of content than tabular data.