3 ms·
Tables would make that not work so well on, say, an iPhone. The way it currently works, the "content" column is going to be the first thing visible when the br
by mrkurt 18y ago
Tables would make that not work so well on, say, an iPhone. The way it currently works, the "content" column is going to be the first thing visible when the browser's not wide enough to fit all three.
- wvenable 18y agoTables render better on mobile browser than pure CSS layouts. Mobile browsers are very smart about tables and almost always do the right thing. CSS is just too complex to get a good result when you need to scale down to a small screen.
- boucher 18y agoMobile Safari handles CSS based layouts just fine.
- mrkurt 18y ago...sometimes. When you put three cells next to each other in a table, you're telling the user agent "this is a row of related data". It's difficult to intelligently choose how to lay those out if there's not space for them to appear side by side. That CSS layout leaves a bit more up to the user agent. The primary content appears first, if there's not space to position each column next to the primary content, it drops down below.