Apple, Opera, and Mozilla Push For HTML5
foo fighter writes "The World Wide Web Consortium (W3C) has been slumbering the past several years: HTML was last updated in 1999, XHTML was last updated in 2002, and no one is taking seriously their largely incompatible work on 'next-generation' XHTML or 'modularized' XHTML. Both HTML and XHTML are in sorry need of removing deprecated items while being updated to reflect the current practices of web and browser developers and remaining compatible with legacy Recommendations. The much more open and transparent WHATWG (Web Hypertext Application Technology Working Group), formed in 2004 to address this problem, and has been hard at work on developing a draft spec for HTML5 to update and replace legacy versions of both HTML and XHTML. The quality of this work has reached the point that Apple, Opera, and Mozilla have requested the adoption of HTML5 as the new 'W3C Recommendation' for Web development."
OK, I'm a curmudgeon. There, happy?
I still design pages using HTML 3.2 standard. Life was happy when pages were small and simple. I'm very put-off by the way HTML now can do things formerly reserved for javascript. Further, people no longer appear interested in the size of the footprint their pages make and the bandwidth necessary to download them.
We rail away at Microsoft and anyone else who adds bloat to software, but the web is now plagued by page bloat and overly clever designs which render poorly at times, take over the browser and sometimes crash it. Behaviour is becomming terrible, but as pages are done by authors who do not really care, so long as it looks like it should and does the basics, they care not what a wreck have created.
Don't even get me started on people whose home page is some massive flash object.
"Hi, we assume you have the latest browser and all the plugins!"
A feeling of having made the same mistake before: Deja Foobar
I don't see Microsoft on the list of those pushing for it. Any chance that HTML5 is compatible with IE7... or should I say, is IE7 compatible with HTML5... Hell, is IE7 compatible with any web standard?
Sometimes the best solution is to stop wasting time looking for an easy solution.
And meanwhile in IE Land, we're still trying to get proper CSS Support. It will always come down to the lowest common denominator, especially when the LCD is the most popular browser. Nobody is going to code HTML 5 pages when the most popular browser doesn't support them. It's great that MS has finally made some headway with IE 7, but if they wait another 5 years until their next major release, then they are going to be even further behind. While all the other browsers are working on CSS3 and HTML5, MS is still working on CSS2 and HTML4.
Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
how about talking to microsoft first before submitting this "standard"... If we can get all major browsers to agree on the spec it might atleast be usefull from a cross platform perspective. other then that, xhtml + css does everything I need right now.
This can really only be seen as a good thing - although we may have to relearn large parts of HTML (or XHTML), it is a relatively simple language and the tradeoffs in browser compatability and interoperability we can get would be staggering, no more pages that are designed to work just in IE, and we could be sure that a web page would look the same in all modern browsers - no more testing them individually and tweaking code until it looks "acceptable" in all of them. Is is quite possible that this new standard could also decrease the bandwidth required by the HTTP protocol throughout the internet's 'pipes', which gives us more space for those darned torrents!
I started to code my pages in XHTML. But it's just not worth it. Use what works. :)
Get your own free personal location tracker
I just figured out HTML1 and I am still crying that doesn't work! :~(
I thought html was going to be supplemented from now on as its limited and difficult to edit hence the need for CSS, maybe html5 has some magic to it. Personally if it enriches content I say go for it as long as we don't end up with one language for one browser and another for the rest then it all good I guess.
What we need is an updated version of CSS that lets you do things like reference other elements attributes so that you can create tables and line up things across/down the page. The ability to put different images on the left and right hand sides and top and bottom and all variants off would be great for putting rounded corners on things etc... instead of having to do hacks link putting in extra p tags just for the image.
HTML is more or less fine, give me a better version of CSS anyday.
thank God the internet isn't a human right.
The biggest problem/complaint against Microsoft is that their dominance is hurting standards. Perhaps to some degree, the standards body could come up with a way to force Microsoft into being compliant and compatible? Perhaps there should be a level of completeness of implementation that would be required before being approved as "HTML5" compliant or compatible?
We know Microsoft is capable but they just don't want to. Their weight and sloth is an abuse to the community at large.
Okay, I think these versions need some work. HTML 4.x was nice. HTML 5.0 sounds a bit much. Perhaps we should jazz it up a bit? It's too late for HTML XP, as the "eXtreme" ship has sailed. Perhaps HTML Vista? *ducks*
What those who want activist courts fear is rule by the people.
http://www.opera.com/download/
No, the W3C have been very busy.
No, XHTML was last updated two months ago.
Everybody is ignoring XHTML 2.0 because it isn't finished yet. XHTML 1.1 is not an option for most developers for one reason in particular: you can't use it with Internet Explorer. Blame Microsoft.
No, both HTML 4.01 Strict and XHTML 1.0 Strict are available for those people who wish to use a document type that doesn't include the deprecated stuff. And even if they weren't available, nobody needs deprecated items to be removed. If you don't want them, don't use them. Just because they appear in a specification it doesn't mean you are forced to use them.
No, they are requesting that the W3C — the organisation you've just written off as closed and useless — adopt their work as a starting point, so that it can be developed further at the W3C. They aren't asking that the W3C give it Recommendation status, they are asking the W3C to take over its development.
Bogtha Bogtha Bogtha
The article misses a pretty large point: the w3 has already decided to work on the next version of HTML. The post linked to is a recommendation that the HTML 5 spec be used as a starting point for that work.
What we need is a Firefox plugin for IE. Someone get on that, please.
According to Hixie and other WTFWG people, web developers are too stupid to learn XML. The solution is apparently to take a giant brain damaged step backwards from XHTML in HTML5, an inaccessible mish-mash of markup and javascript. Their only halfway decent idea is DOMStorage which of course belongs in a DOM spec.
PASS!
We are all going to be making a majority of our sites to work in IE6 for many years to come. The release of IE7 did hardly anything to change how I design my pages. All it did was add another browser to test in really. IE6 will remain on old Windows OS's (2000 cant run IE7) and non-upgraded machines; therefore, we will all develop for them as we have for some time now.
All this means to me as a developer is that I have another thing to keep track of in regards to my industry. Add it to the list which includes: Seeing if AJAX, RoR, and other Web 2.0 fads survive the next year; if PHP has even a glimmer of hope; PNG issues; content delivery to mobile devices; and of course assorted security issues.
We always have something new coming down the pipe, but that does not mean it is the next new thing. Many sing the praises of AJAX, but really it is far from perfect and likely to be replaced by something much better very soon. Nature of the biz I suppose, but I would not have it any other way !
Invexi - a Phoenix, AZ based web design and web development company.
I'll be happy with any version of HTML that removes the required ROWS and COLS attributes from textarea and lets me size the damn things with CSS without dropping me into quirks mode.
What sound do people on rollercoasters make? Hint: it's not Xbox 360.
Another standard that will break Opera.
Politics is the art of looking for trouble, finding it everywhere, diagnosing it incorrectly and applying the wrong fix.
This is horrible. The mess of backwards compatibility on the web, particularly in HTML, is what causes so much "liberal" output from web developers and designers. XHTML took a solid step forward in squashing some of those problems by creating a very rigid set of rules to be followed for document markup. XHTML2 addresses the actual semantics of it. Backwards-compatibility is not always a great thing. Something like XHTML2 promises a clean breakaway from the horrors of HTML. This "HTML5" seeks to make the web even worse off than it already is by providing developers and designers a free ticket to make their code as horrifically nonstandard as possible. Documents should consist of well-formed markup that is easily parsed by both humans and machine alike. From a purist point of view, XHTML is blissful, though it does truly have it's own set of issues. From a realist point of view, there will sadly always be backwards compatibility on the Web, but can we *please* restrict it to software implementation and NOT in standards?! The web browser will always need to support HTML 2, 3.2, 4.0, etc etc (not that they do, but they should...). If someone wishes to code in HTML 3.2 then they should. But the next version of the (X)HTML standard should not promote backward-compatibility. It should move the technology forward instead of accommodating for previous bad practices.
Tim Berners-Lee, bless him, didn't seem to understand that anyone would ever want a web page with more than one column. So some genius (a name I've forgotten) thought of using tables for layout, and many problems were solved: multi-column layouts with headers and footers which stretched to accomodate content and rendered the same way (more or less) across all browsers and platforms. Hooray!
Then came CSS: coding could be much cleaner and more flexible, but tables-for-layout was considered bad, and we began wrestling with creating layouts using divs and clears and floats, having to use such kludges as negative margins in order to replicate table-like behavior. It can be done, but it's harder. So for HTML5, how about setting aside creating new but not-very-helpful features like "overline" (who uses that?) and coming up with things that actually help us create web pages? Why not create a tag called "grid" that acts like a table, but is designed for page layout? Most graphic designers use grids, and it would really help web design as a whole if something like that existed for us.
How about a way of having content reflow from one column to another when a window is resized? Page layout programs have done this for 20+ years, so shouldn't it be possible for a web page and a browser today?
So please, HTML5 people, don't just talk to computer scientists and advocates for the disabled when creating this new specification. Think of the people who actually have to lay out pages!
Q: What does the "B." in Benoit B. Mandelbrot stand for? A: Benoit B. Mandelbrot
I haven't done web development in a while. So what is the difference in HTML 1, 2, 3, 4, XHTML? Last I checked it was HTML, then javascript came around, then CSS. Am I missing something here?
The CSS3 multi-column module was designed for exactly that purpose. It's available in experimental form in current Mozilla-based browsers (Firefox, Seamonkey, Camino, etc.), and according to that page, it's available in nightly builds of Webkit, which will eventually become a future version of Safari. (Since the spec isn't final, the rules use -moz and -webkit prefixes, so that if the spec changes they won't have to change the official rule's behavior.) No word from Opera, though there are reportedly a bunch of CSS3 features in store for the next major update, and of course, who knows how long before we'll see it in IE.
Remember: HTML for structure, CSS for layout.
It only takes one man to change the Wisdom of the Crowd to Tyranny of the Masses.
here's an example: without knowledge about HTML, a parser cannot be expected to understand in the first case that the <br> element is empty and in the second that the <li> element is not.
But your objection to HTML/CSS doing what javascript used to be necessary for? Really? You prefer writing little-stupid javascript functions to just putting a :hover rule in your CSS? Really?
:hover rules generally.
I'm going to go out on a limb and bet that the GP would probably be against
The problem isn't the implementation of the useless eye candy, the problem is the useless eye candy.
"Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
Here's what I was thinking: ordinary users don't seem to have a problem installing Flash, which is a several MB download, when they're told that they need it to view a site. So if the Gecko ActiveX control does the trick, those of us who are serious about eliminating IE should detect IE visitors and display a page saying that you need to download the Firefox/Gecko control to use the site (or Firefox itself, of course).
Pretty soon, about as many people who have Flash will also have Firefox running inside IE, and it'll no longer be necessary for many people to cater to IE.
I've tried, I really have, to embrace the Zen garden Juu-Juu of CSS, can you make a simple blog page work in CSS? sure! Can you make an massive website with many different templates and variable width data-areas work in CSS? Yea, if you're a complete lunatic. but you have to get there with hack over hack over hack over hack. Here is the deep dark secret of CSS, it's not designed for layout. It's fantastic for styling, but try doing a Box-model or Float layout and you quickly realizing you're asking CSS to do things it wasn't intended to do, and it simply does not break gracefully the way a simple table layout does (You know floats were originally intended for pictures, not layout areas). So while I respect the purity of a CSS for style, HTML for content concept, in practice CSS is just as much of a kludge as Table design. I've saved hours of time and reached wider audiences of compatibility by going for a hybrid design, but this breaks the "standards".
IMO, standards should follow simple elegant solutions, a hundred lines of CSS browser compatibility code and float hacks is far from an elegant solution. PLEASE PLEASE PLEASE give designers a proper layout language!!
Do people actually read the specs?
XHTML1.1 is the modularization of XHTML1 with one important difference - you should not serve it as text/html.
If you want to drop support for all legacy browsers then be my guest, there just doesn't seem to be any point to using 1.1 until all UA's accept application/xhtml+xml
XHTML1 is the XML serialization of HTML4.1
Some say that you should not serve XHTML1 until all UAs accept the XHTML MIME type but serving as text/html to legacy UAs is permitted in the original and current recommendation, associated MIME type note and mentioned in RFC3236
Please revive the <BLINK> tag. I thought it was as awesome as MC Hammer. In fact, just go ahead and make an <MCHAMMER> tag.
What would it do? You have to ask!?
Yours,
the early 1990s
intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
When was the last time you even saw a computer that had IE5 on it?
So, I've got a client that runs an e-commerce site. At least a couple hundred orders per day. I did a quick dig into today's stats. So far: 4 orders from people running IE5, and one from a Netscape 4 flavor. All appeared to be on dial-up connections. A little over $1600 worth of business in those 5 orders. These are orders for non-essential items, which suggests disposable income that COULD go into a computer upgrades, broad-band connections, etc. for those shoppers, but which have not. I absolutely guarantee that my client would rather have today's business from those 5 customers than have whatever liberty may come from being able to leverage current formatting fanciness/compatibility. Their site renders just fine in every browser to date, and that $1600 is in the bank, instead of that of a CSS-ed-to-the-hilt, hipper-than-thou competitor. Someday the numbers of legacy users will drop low enough to warrant the change, but $1600 before lunchtime says today's not the day.
Don't disappoint your bird dog. Go to the range.
I get the feeling that the W3C and these three businesses don't really give a damn about the web or its users. All they care about is the bottom line or justifying their very existence.
From reading their faq and some other articles. It seems they are saying they don't believe in using XML on the web. They are willing to support the cludge use of HTML and XHTML in a more standard way. However, they never intend to become complete XML solutions. I thought this was why XHTML was created in the first place. To begin the transition to complete XML solutions on the web. If they never intended to go the distance why have they waited so long to tell their users?
In the end it just sounds like they want to keep things the way they are now. Just try to agree on a better way of supporting the various markup we have now. They've had years to get HTML to be consistent. Yet, they've not been able to acheive this seemingly simple task. Why would I believe HTML 5 to be any different? XML is supposed to be more precise and standardized. Perhaps that isn't the case, but they sure as hell waited long enough to tell thet rest of us.
Perhaps you'll be kind enough to take the phone calls from my clients and explain to them why the pages they've been refusing to let me completely overhaul for the past 5 years, NOW have to do so, because the Internet broke them? :-)
(All this stuff is moot where I work. Non-profits don't have the funds to upgrade ANYTHING, therefore, I fudge what I can and say "no" a lot.)
The House Between - Original Sci-Fi Series
<!DOCTYPE html>
<meta charset=utf-8>
<h1>Hello world!</h1>
<p>This is a complete, valid HTML5 document
and it does work in current browsers as intended, even in IE6.
Ugh... HTML 5 is the LAST thing the Web needs. That just works to perpetuate mistakes that
we've been forced to deal with for 15+ years now... and holds back adoption of XML formats
that are much easier to process and much more amenable to creating a Semantic Web.
Retire HTML and let's get XHTML2 out the door and get browser support for it... that's what
the Web needs.
// TODO: Insert Cool Sig
I'd like to see JUST browser makers and web designers in on the next specs. I under stand TBL (father of the web) doesn't like the idea of "web apps" over semantic documents, but the case is lost. The biggest thing is that the W3C doesn't actually make a fully useful browser of their own... they should defer to those that DO make browsers and those who design web pages and create a spec that's 100% useful and implemented rather than "pie in the sky".
You place an element on a page. size it, etc. and you have NO contact with the code underneath, and frankly, you DON'T want to deal with it. It's messy and complicated.
Now, HTML was cooked up YEARS ago, and the closest we have to Pagemaker/Quark is Dreamweaver. Brilliant. And placing elements on a page is such a hack job between browsers that an entire industry of useless coders have sprung up to "take care of that" for us - CSS specialists who demand serious dollars to do something that shouldn't even be handled by humans. And WHY is this so?
1. Microsoft Their insistance on being non-public standard compliant and shoe-horning more crap into their browser and DOM for IE(x) has been a monstrous thorn in the side of web developers everywhere. At the same time, it is this incompatibility that gives CSS specialists and web designers/developers a job. Still, this is not a happy situation, and it is not going in a useful direction (HTML 5 will be gleefully ignored by Redmond, and the complexity of the resulting situation will only give more work to more CSS/AJAX specialists.
2. Fiefdoms The resulting incompatibilities that create the need for specialists actively works against finding automated solutions. If web design was reduced to the level of Adobe InDesign and web development was made as simple as visualBasic, then much of the "Web Industry" would disappear. Thousands would lose high paying jobs. I nreality, they (and this means YOU) are nothing but parasites subsisting on a faulty broken technology. Fix the technology and the cost of development would gradually collapse. Insisting that a web designer should know code would be seen as absurd as insisting that a type designer know how to read PostScript or raw TrueType instructions.
3. Flash et al. It seems much of the web started as one thing and ended up another.
Tables were built for tabular data, they soon became the structure by which a page was architected, as it put things in a specific place in page that was pretty much the same across browsers. And that is still the case. If I'm going "whip out" a page with a variety of elements arranged in the page, I'll use a table. It's faster and easier and it works. It's not as flexible or useful as CSS, but it works. With CSS, you spend huge amounts of time tweaking crap to appear across browsers. Still, Tables are old and not as flexible, and have been pressed into doing service they weren't designed for.
Same with CSS. It was developed to make things all purty-like. Now it's used for page layout and element placement - WAY beyond it's original mandate, which was taken from Desktop Publishing (stylesheets).
Flash was just a way to do spline based illustrations and animations on the web. When it was clear Flash could do much of the basics of what Director could do in a tiny fraction of the footprint, they began "directorfying" Flash, and shoehorned a Lingo into it, known as ActionScript. It is now a full blown frankensteinian disaster that is considered a "development platform", which is a cruel and misdirected hoax.
The examples are many and continuous. The "web" is a hack job. It is a slow moving train that has left the tracks (IE5 did that), and is slowly dying in its own complexity (of CSS, XHTML, AJAX, etc. hackery) as it rolls in excruciating slow motion off the cliff.
And now that the very livelihoods, mortgages, and private schools for the kids are DEPENDING on this complexity, the only logical conclusion is increased complexity, resulting in an ever higher range of exclusivity, casuistry, and sophistry. It will die, replaced by a lower context system, and when it does, a lot of people are going to get hurt. And, given the nature of the audience on /., it will mostly fall on their shoulders.
RS
Shoes for Industry. Shoes for the Dead.
Come on guys, we need to slow this down so we can give Microsoft a chance to catch up to what has already been done. Don't worry, they should have IE up to speed by the end of the decade - THEN, and only then, can we start talking about ridiculous things like upgrading HTML!
or else!
You are very correct. CSS gets much more hacky than "legacy" layout if you try to do any significant layout with it.
I tried to make a simple 3 column table with CSS only. After struggling with that for an hour, I said fuck it, and put an old style table in there. It was much easier.
I've had enough abrasive sigs. Kittens are cute and fuzzy.
Okay, but just to play the devil's advocate here, why should that be part of the page design, and not a feature of the user's reader, perhaps as a configurable option?
It used to be pretty standard for people to customize their browsers in order to change the text, link, followed-link, background, hightlight, and other colors; why does the page designer necessarily know better than the users themselves what the user wants?
We've moved a long way over the past few years towards making the browser into a generic 'portal' that simply displays whatever the web developer wants to toss up on it for the user to look at; frankly it's very television-like.
However, there is a completely different conception of the internet where the pages should be marked up as generally as possible, and the user's browser should then choose how to display the information in a way that's meaningful to the user. It would probably mean that "your Internet" wouldn't look anything like "my Internet," but there's no inherent reason why that's bad. We've grown to treat it as if it is, but that's only because we want the web experience to be like flipping channels on a TV, where your Discovery Channel looks exactly like mine.
"Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
I can only say that I agree with you entirely. The CSS box model is completely broken. It can only be made to "work" by generous sprinkling of clear=left etc.
Frankly I would prefer something like LaTeX. XML'ify it if you must. Not that TeX isn't broken itself, with all the fixed limits it has. Those would be easy to fix though, if TeX was unfrozen.
Finally! A year of moderation! Ready for 2019?
Guffaw.
I read the request which was posted in the lists, which was interesting. The responses from Doug Jones, Dao Gottwald, Henrik Dvergsdal, and particularly Maciej Stachowiak were more insightful though, and from a web designers perspective these are important things to understand.
It seems a number of the responses on Slashdot with respect to this request are negative, but both the request and responses provide a meaningful first step in consolidating modern web standards, and giving proper attention to things that no longer serve a purpose.
For instance, instead of eliminating the ungodly 'blink' tag, the concept is to allow the receiving things like this, but not sending elements that are being phased out. This way nothing breaks, and the web can continue to move forward.
It is also interesting to note that one concern is to take the unique important elements from each browser, and include it in the standards, 'so it doesn't need to be reverse engineered'.
I am open source, and Linux baby!
No advances will be allowed unless they are sanctioned by Microsoft via Internet Explorer.
And so forth. Certain other things that other people have called for, I'm more agnostic about, like built in support for drop shadows and rounded corners, but there'll be no love lost on my part when they finally replace the current standards.
I think there is a world market for maybe five personal web logs.
More than likely they will have their own incompatible version of html5 and will make sure Frontpage includes these new tags by default.
Then it wont matter. I hate monopolies and this is the reason. At least when Netscape tried netscape specific tags IE then came into the scene to force compliance.
http://saveie6.com/
Funny enough, the upgrade of Frontpage (Microsoft Expression Web) actualy renders (in its wysiwyg) html and css quite correctly. So its always amusing to do some more advanced CSS (mind you, advanced from IE's point of view. We're talking basic stuff like min-width or display:table-*) and have it work perfectly in Expression Web, then opening it in Opera or Firefox, and have it work exactly (or well, as exactly as wysiwyg will work). Then opening it in IE (especially 6, obviously) and it breaks horribly.
This is really a place where Microsoft is a 2 headed entity. The web development team(s) (asp.net, their ajax team, microsoft expression, the next version of visual studio, etc) tend to, for the most part (at least recently) work toward standards, cross browser stuff, etc. The browser team though... I guess they're doing their best while being whipped by the people who sign their paychecks.
Mod parent up. Give us the link and let us see this wonder of ecommerce.
Face it, as long as browsers work with HTML4, nobody is going to care whatever "standards" are dreamed up by whoever.
Please understand, I am not saying these standards *should* be ignored, I am saying they will be ignored.
... is to be able to put block-level elements inside of paragraphs. That's it. Apart from that, XHTML 1.0 is good. That's the only change I want.
CSS is another matter. I can think of a few dozen improvements I'd like to have there. OTOH, even the best browsers are still trying to catch up with what's already specified, so having anything more specified is unlikely to have an immediate impact.
Cut that out, or I will ship you to Norilsk in a box.
>All things being equal and HTML starting out fresh, I guess you could make a case for a "strict only"-policy. We're not starting out fresh though.
(BTW, I don't like the subject line of this thread (I didn't create it) so I changed it to ***.)
This is another issue I don't understand. If you visit a web page, and it requires the Flash plugin, or if it requires JavaScript, or if it works only in Internet Explorer, or if it requires Java, then either you get the stuff and it works, or you don't get it and it doesn't work. There's plenty of ways to find out if a client supports something and serve up one version or another. The same is true for other markup-based technologies such as SVG; either you get the SVG content or you don't. But there aren't people running around saying the entire web is broken because there are pages with SVG in them.
It's not that hard a task to add SVG to Firefox once you know how to implement SVG; in fact, it's been done. It's not that hard a task to add recognition of XHTML2 markup if someone wanted to do it. And XForms is in version 0.7, heading towards a 1.0 release in Firefox as well. None of these things break the web. If you want to use them, use them. If you don't, don't. But why must you run around telling other people not to implement them? What is it that you fear? I think it's the lack of mystery.
Modularizing HTML so that it's possible to intermix SVG, XForms, and other markup and get predictable results takes a lot of the mystery out of writing web browsers. And mystery is important if your business is writing web browsers, (i.e. for the mobile phone market) because if you could read the specs and write software and sell it, then there'd be less money to be made for the established players.
Thank you.
I don't really care what they do with HTML. As long as support for the old versions doesn't go away (and as long as you include the appropriate DOCTYPE there's no reason why it should), I'll always have the option of using the old version if I like it better, or using the new version if they make real improvements. I use the W3C validator, and a Firefox plugin to do the same (although the Mac version seems to be broken at the moment). HTML is great. I'm sure they'll make it better. Fine.
But CSS is a nightmare. I've got two books on CSS on my bookshelf; neither seems in any way comprehensive, and I don't think it's the fault of the book authors. My horribly broken stylesheets always pass validation anyway, because the syntax is fine, they just don't work the way I wanted. I'm not looking forward to building a new site a client wants me to make, partly because I know I'll have to build a new stylesheet for it. I love what CSS is capable of doing, I love the concept of using a stylesheet instead of splattering layout and style markup all over the HTML. But CSS, it its current form, is painful.
$x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
$x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
Do some web 3.0 stuff for me
:p
<curvedcorners>Bling Bling</curvedcorners>
and maybe they will implement the </sarcasm> tag, no opener needed
Hello history!
<p>This renders in all HTML browsers that have tag soup parsers, it sucks!
span.block { display: block }
<p>A chip of the old <span class="block">block!</span> Am I missing something?</p>
Here's one method:
http://alistapart.com/articles/holygrail
Here's another:
http://www.glish.com/css/7.asp
But yeah, it's hard. Lot's of people have found solutions to the problems, though. Even if it is cumbersome, I think it's better than visual markup.
Here is a simple study. Turn off your css. You should be able to see a page that still makes logical sense. If you don't then you shouldn't be designing websites, because you have no idea how to properly code HTML semantically. That means using H1 tags instead of [span class="heading1"] and all the other nonsense I have seen out there. HTML is creaky and needs the work. But nothing says that you can't just turn off the css functions and customize pages the way you want, except for idiot-coders.
"Both HTML and XHTML are in sorry need of removing deprecated items" ...I'll just be happy if they remove the blink tag.
Windows has detected an undetectable error.
You REALLY want to use CSS for layout, you need a new container type.
Call it box or flow or slot, what it does is define the layout of the places where text WILL go. The text is in a separate div with a target that specifies the box to flow it into.
That way you can define a set of boxes around a picture, all with the same name, and then just feed text into it. The text will start filling the first box, then overflow into the second, and so on. When the text reaches the end of the last box the boxes start expanding to accomodate the text, unless they have the an attribute that defines them as fixed-size. The boxes define the layout, the divs define the text to go into it, and spans define the style of the text.
And therin lies the problem, the w3c make a big shouty shiney deal out of "validating" HTML and CSS markup in pages - wether or not it actually produces desirable output in the shitty attempts at support by ALL the browser vendors - and not copyrighting the terms "HTML" and "CSS"* and then not allowing browsers to claim to render them unless the BROWSERS ITSELF CONFORM TO THE SPECS
*yeah i know it's too late for that now but "HTML 5" could be called "WML : Web Markup Language" instead, whilst being new and buzzword-tastic, M$ could not then release a "WML Support Upgrade" for IE7 unless the w3c said so.
too bloody simple, obviously
If you don't risk failure you don't risk success.
Wasn't doing a better job than CSS at providing that for a wide variety of media one of the big purposes of XSL:FO? Unfortunately, while there were a few proof of concept browsers early on with rough support for XSL:FO, mostly support for it seems, from what I've seen, to have gone all to tools designed for print/PDF production.
I question the value of your opinion, given that you've confused HTML and CSS syntax. Nobody with five minutes' experience with CSS would do that.
That depends on your definition of trivial, of course. Relative to what people used to try, the more recent techniques are certainly a lot more concise in the CSS, I agree. And it's only taken nearly a decade for us to get from what people really did do trivially with tables to a vaguely transparent CSS approach that gets the same result mostly reliably. Hurrah!
So now think about other things that should be easy with good separation of content and presentation, but aren't. Here's a simple example: I want to write my text, duly marked up logically, and I want to tell a browser to flow it into as many 3–4" wide columns as will fit in my user's browser window to give even widths and 0.5" margins and inter-column spacing, or a single column for more narrow devices. Doing this in print would be pretty routine for any DTP package. Doing it in CSS... well, sorry, you can't, because it's not even close to powerful enough to express that kind of concept. The best attempts so far rely on Javascript hacks. And this is in a world where the web is one of the dominant communication media for millions of people, and where home user display hardware varies from a little 15" CRT someone's had for years to a funky new 24" widescreen TFT, not to mention all the mobile devices that have some web capability.
So, when I can get a two-column layout in CSS by writing "columns: 2" in the style for a DIV, plus any spacing options I want to set, then I'll accept that getting a two-column display is trivial. Until then, it's just less of a hack than it used to be, it still requires non-semantic mark-up, and it's still beyond most users.
If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.