The future of CSS layouts
netmagazine.com
netmagazine.com
These new proposals are much more powerful. Most notably they allow you to visually place elements in a grid independent of the source-order. CSS2 (and HTML table markup) does not allow that, ie. visually adjacent cells must also be adjacent in the HTML.
Why is my CSS/webdesign intellectualized into a math problem?
Is it wrong tables work and feel like building blocks?
WYSIWYG enabled full sight.
Some walls privilege CSS.
Internet anyone can build?
Anyone can build a table.
</tables>
<div style"TL;DR">Tables fit WYSIWYG whereas CSS abstracts. Coding more WYSIWYG could ease.</div>
<!-- Join a table or float away? -->
</body>
</html>
Not to mention, "constraints of the medium" could take on a whole new meaning as the wide array of display sizes continues to increase. It will be more and more necessary for web designers to create designs that easily adapt to various displays. They call this "responsive web design" and if you are practicing it right now you are an exception. Soon it will be a necessity and these new CSS capabilities look to be well suited to this purpose.
And the desire to avoid 120-character-wide columns isn't some arbitrary fetish of print design. Over-width columns actively hinder readability. Robert Bringhurst:
Anything from 45 to 75 characters is widely regarded as a satisfactory length of line for a single-column page set in a serifed typeface in a text size. The 66-character line (counting both letters and spaces) is widely regarded as ideal. For multiple-column work, a better average is 40 to 50 characters.
If the type is well set and printed, lines of 85 or 90 characters will pose no problem in discontinuous texts, such as bibliographies, or, with generous leading, in footnotes. But even with generous leading, a line that averages more than 75 or 80 characters is likely to be too long for continuous reading.
These typographical rules of thumb are ultimately derived from human physiology -- limiting the range through which the eye has to skip left and right makes reading more relaxing, and the mental act of trying to go from the right edge of a mile-wide paragraph to the left edge without losing one's place is fatiguing. [1]
Up to now web designers have coped by forcing a single column, forcing that column to be of limited width, and just padding out the remaining width with navigation elements or whitespace. But the whitespace begins to look ridiculous when it's 80% of the width of the screen.
So we're probably going to see more instances of successful multi-column layouts. This is likely to break continuous scrolling, but on a device which supports useful multi-column layouts you'll probably be okay with page-by-page scrolling. Or, well, not. We shall see.
---
[1] I highly recommend resizing the HN screen if you want to read one of my doorstopper comments. ;)
the optimum display settings for reading speed is two columns of an average width of 14 words.
there has been a ton of research in this area[1] [2]
[1] http://edlab.tc.columbia.edu/files/eye-tracking%20article.pd...
(I cannot read the articles right now, if the answer is there just ignore me.)
Your mileage will vary, and I'm not saying that everyone has the exact same preferences or requirements, but I can't wait for easily rendered, reliable multi-column text.
Some references:
http://baymard.com/blog/line-length-readability
http://www.456bereastreet.com/archive/200509/line_length_and...
http://psychology.wichita.edu/surl/usabilitynews/72/LineLeng...
This forces the designer to break the content up into multiple column blocks based on a target screen height... so now we have the same problem, only on a different axis.
edit: There's something in many corporations called the hurdle rate. All projects have to provide a financial return that is above the hurdle rate. Updating web apps to work on newer browsers does not easily compute to surpassing the hurdle rate because you did nothing to add new functionality/productivity. So it's very hard to get funding for this kind of work in many organizations.
Also interesting is that Adobe is taking a front-and-centre role in the new CSS. Forward thinking of them to see the writing on the wall.
Plus there are numerous companies involved in creating the HTML and CSS standards that are front and center that are not involved in creating a browser. Take your blinders off.
The browsers implement the standards... hence the front and centre. IE defined the "standard" for a long time (and still does).
Dreamweaver is a horrible example of 'front and centre' of HTML/CSS. It creates horrible markup.
None of Adobe's other products are at all related to HTML/CSS (Edge aside).
and it should be possible to write a shim for it for older browsers and bring the new syntax to existing browsers now (or, as soon as the standard is ratified)
the sooner we can do away with the old css layout techniques, the better.
http://tilt2k.github.com/ressays/
Point to an Essay from the menu, with a CSS3 compatible browser you'll see an easy frontend pagination with very little struggle.
If there were a law that mandated upgrading browsers that were out of date (by whatever definition you think works) what would that law look like? How would it work?
I ask, because if anyone comes up with something that could work, then we can all start pestering our politicians to put it into action.
It might be a complete non starter of an idea, but I'm so tired of seeing all these awesome time saving HTML5 tricks I cant use, it's got to be worth a shot.
Also, I see reason to "regulate" browsers. Lets say the law was this....
"A person may not connect to the internet using a browser more than two whole number versions behind the latest production version for that particular browser."
Here we have a rule which leaves browser vendors free to pursue whichever route they see fit, with no need to supply any sort of reporting or speaking to government officials. Nor need it be enforced. For example, here in the UK we have laws which ensure web accessibility as part of the Equality Act:
http://www.rnib.org.uk/professionals/webaccessibility/lawsan...
Now this law is not being enforced, but if you work in web design or development in the UK, you have undoubtedly felt it's repercussions as clients demand increasingly higher compliance ratings. This has been unquestionably good for the state of the web, at least here in the UK.
Or perhaps there's a national security angle to take, or even an accessibility angle (I believe IE6 and 7 can't increase pixel font sizes). Maybe there's an existing law that is somehow being breached by the mere existence of IE6 & 7....
I suppose what I was asking was "Is there a creative way to mandate modern browsers in law".
If you really meant that Congress or the FCC should make a suggestion to stop using old browsers, that is completely different. It would be followed to the degree that IT departments could afford to upgrade old computers, conduct training and whatnot.
It's interesting you mention that UK developers are very compliance-conscious. Perhaps I misunderstand, but every rule that must be complied with increases the development cost of a project, and I believe the reason you want every browser to support IE8 is you want to save development time. If I understand you right, you want to shift your time burden onto browser developers and IT departments, the reverse of the current UK situation you support where the compliance burden is shifted from the IT departments to the web developers!
http://www.snopes.com/music/artists/vanhalen.asp
While not in the political sphere, it demonstrates perfectly how a well thought out policy can reduce complexity while still delivering results.
Any attempt to argue that this has no bearing in a political context serves only to illustrate a complete and utter lack of imagination. Once people know the M&M trick, it becomes useless... but M&M's are one example of that technique. Next time, it could be Alphabet Spaghetti with all the A letters removed.
Also, what new training would be needed in order to work with modern browsers? People who need training on how to use a modern browser require training of a completely different sort. Since when did "borderline-retarded" become our baseline?
Accessibility laws here in the UK have actually made development easier as it has created an environment where developers have a much bigger input in the design process as they can cast an expert eye over concepts and raise concerns at a very early stage. This isn't about removing features, it's about building features that work properly.
Nor is it reasonable to class IE8 as a modern browser. IE9 is almost there, but I don't think IE can be classed as "modern" until IE10.
Nor do you understand me right. I don't want to shift my time time burden onto anyone, I want to do more in the time I have. IT departments make the call on what browsers their users can use, so it's reasonable to shift some of the support burden onto them.
Any talk of "internal systems" that depend on ActiveX and the like demonstrate a lack of investment in technology. Why should we (the human race) be anchored to the past by people who are unwilling to invest in the future, despite reaping the benefits of other peoples investments. It stinks to me. Browsers are free. Modern browsers are easier to support. modern browsers are more secure. Modern browsers increase productivity. Modern browsers have low system requirements. There's no real excuse for not using them.
But lets carry on as we are. It's been working crap so far, but let's soldier on at a snails pace. With any luck, we'll be able to stop supporting IE7 sometime around the point we all retire. And heaven forbid we explore any new angles on how to push things forward, even if it's just out of pure interest, because that's wrong... apparently.
if you want users to drop old browsers, write web apps that require new browsers.
The original comment was about exploring a concept, yet it seems to have been dismissed completely out of hand without even a moments thought. Im genuinely disappointed with the complete lack of imagination.