5 ms·
> CSS layout [...] has 4 different layout systems: table, the oldest one, still used for email [...]. Nooot exactly? Literal HTML table markup is indeed probab
by mananaysiempre 3y ago
> CSS layout [...] has 4 different layout systems: table, the oldest one, still used for email [...].
Nooot exactly? Literal HTML table markup is indeed probably the oldest way of laying parts of webpages side by side and is still used for email, but that has little to do with CSS.
In CSS, you have display: table and related values, but IIRC they were less usable on old IE versions than floats and received fairly limited use; certainly not nearly as much as literal non-semantic tables. I haven’t noticed them receive much use on the modern Web, either, and I don’t really know why—perhaps the requirements on the surrounding markup are too stringent (there’s no way to reorder things, for example, and if you need multiple rows you’ll need to include some sort of elements in your HTML to play that role).