Reputation
1,482
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
2 11 17
Newest
 Yearling
Impact
~74k people reached

  • 0 posts edited
  • 0 helpful flags
  • 42 votes cast
Apr
1
comment Why are people making tables with divs?
@ajeh - Wait, what are we debating about again? :D
Apr
1
comment Why are people making tables with divs?
@ajeh - You're missing the point too. Sure, it's faster, I've no doubt about that. But it's because it's a lot simpler and doesn't support all the same stuff that FF does.
Mar
31
comment Why are people making tables with divs?
@ajeh - Maybe, but I'm a bit lazy to check such an antiquated browser. :) Also, I'm not even sure what standards I should try and hold it to. If you're comparing to the contemporary FF/IE/Chrome, then it's obviously not going to support a LOT of the features that these browsers have, so it wouldn't be a fair comparison. In fact, I'm not even sure it's possible to fairly compare them. Even though the test might not include the newer features, the modern browsers will have code to support them and that might slow them down. Yet it's good that they have these features, even with the slowdown.
Mar
30
comment Why are people making tables with divs?
@ajeh - But how correctly will it do it? It's not hard to render a table fast if you start ignoring some of the constraints the developer placed on it.
Nov
7
awarded  Yearling
Sep
25
comment Is the `<table>` tag and `display:table` a functional or a layout directive?
@JacquesB - Hmm... true, my definition is not very precise. But on the other hand - neither do I understand very precisely what "semantics" is, nor what the thing under CSS' control ("layout"?) is. Do you have any nice definitions for those?
Sep
23
comment Is the `<table>` tag and `display:table` a functional or a layout directive?
@LieRyan - Perhaps, although I think it's worth another debate of its own. If true, then that would be THE biggest most glaring flaw of HTML ever, because this (unspecified) functionality is what every web developer has to rely on every day to do anything at all.
Sep
23
comment Is the `<table>` tag and `display:table` a functional or a layout directive?
Functionality is what the tag does. Hmm.. how to better explain... imagine that we ignored all the semantic differences between tags and there was no default CSS for them, not even the default stuff that comes with the browser. In that case, there would be no difference at all between, say, <div>, <span>, <p>, <h1>, etc. All those tags would be equal in every way. But an <a href=""> would be different - it would display a link, which would redirect a user to another page when clicked. You can't do that with a <div> no matter what you do. That's a difference in functionality.
Sep
23
comment Is the `<table>` tag and `display:table` a functional or a layout directive?
@JacquesB - No, a <p> and <h1> actually have an identical functionality. They just group a bit of content and allow to apply style to it. So does <div>, <span>, <blockquote> and a whole lot of others. They have a different semantic meaning and a different default layout, but the same functionality. An <input type="checkbox"> for instance has a different functionality. No matter what layout you apply to it, you cannot make a <p> act like <input type="checkbox">, short of using Javascript.
Sep
22
comment Is the `<table>` tag and `display:table` a functional or a layout directive?
@JacquesB - When I apply display:table to a <div>, that <div> starts acting lika a <table>. In other words, it has adopted the functionality of a different tag. When I do this for layout purposes, the layout of the tag is correct (that's how I wanted it), the semantics are correct (that's what the tag represents, a division), but the functionality is wrong (it's a <table> masquerading as a <div>).
Sep
21
revised Is the `<table>` tag and `display:table` a functional or a layout directive?
added 96 characters in body
Sep
21
comment Is the `<table>` tag and `display:table` a functional or a layout directive?
OK, I think I finally got it. The table is really in an unfortunate spot. To get the correct layout you need to sacrifice either a correct semantic or a correct functionality. It's a choice between two evils, and the latter is widely considered to be the lesser one.
Sep
21
accepted Is the `<table>` tag and `display:table` a functional or a layout directive?
Sep
21
asked Is the `<table>` tag and `display:table` a functional or a layout directive?
Apr
6
comment Why are people making tables with divs?
@NotMe - True, but the differences will probably be noticeable only in some esoteric edge cases. I don't even know what to look for.
Apr
3
comment Why are people making tables with divs?
I'm accepting this answer because it seems that nothing else useful is coming in anymore. There are higher-voted answers but they basically say "because semantics" (and the only reason for semantics that they can provide is screen readers, which doesn't convince me). @HorusKol's answer mentioned responsiveness before yours, but yours is more to the point. If a better answer appears in the future, I will change that to be the accepted one.
Apr
3
accepted Why are people making tables with divs?
Apr
3
comment Why are people making tables with divs?
@Sildoreth - the extra markup is minimal and IMHO actually clarifies what is going on. As for the highest semantic value - why?
Apr
3
awarded  Famous Question
Apr
3
comment Why are people making tables with divs?
Wait, so there are different doctypes that make the same document render differently? Which ones? Mind you I'm talking about different doctypes, not doctype vs lack of doctype (aka quirksmode).