Category: css
How Cascading Style Sheets are implemented in current browsers, what we can do with the language, and what to look forward to.
How Cascading Style Sheets are implemented in current browsers, what we can do with the language, and what to look forward to.
Had the chance to run a few more tests to find out what’s new (and what’s not) in IE8. Good: @import media types seem to be implemented; Bad: XHTML still isn’t parsed, so everyone who thinks they are coding XHTML are still kidding themselves.
As just about everyone in the development community must know by now, Microsoft released a first Beta of IE8 today. I’ve been testing it for the last hour or so, and here are some notes I’ve made – the first of which is that this is really more of an Alpha than a Beta; there are a lot of bugs and errant behaviours.
One of the first things I noticed was that the browser comes with a limited set of development tools built in. They’re not well integrated, they’re not very extensive, and they’re not easy to use; but they’re there.
Let me say up front that from what I’ve seen of Firefox 3 so far, it really looks to be a knockout browser; it’s light, fast, extensible, and the interface is flawless. The one and only thing that’s disappointed me slightly, however, is the lack of new front-end features for developers like myself to take advantage of.
Online applications have been given a huge boost with offline storage and new HTML 5 features, but where are the shiny graphical hooks for us to play with? Below are three new features I’d like to see implemented in Firefox 3.1 (which I’ve just made up).
NB: This might seem a bit previous, as Firefox 3 hasn’t actually been released yet, but I’ve been using the nightlies for a while and it seems unlikely that any of these features will be implemented before launch.
Is it possible that I’ve found a new IE bug, after all these years? And, worse still, a bug that wasn’t fixed in IE7? I’ve just spent half an hour looking for a solution, and I can’t find a single mention; surely someone has come across this before me?
It involves horizontal rules and the way they are displayed by Intenet Explorer, which seems to set a height limit that other browsers don’t. It’s probably easier if I explain it.
After being a developer for a while you sometimes forget that there are a lot of people still learning. With that in mind – and working on the assumption that the more information that’s available, the easier it is to find – I’ve decided to start an occasional series of web development basics tutorials.
One of the things I see a few people struggle with when learning CSS is the concept of the cascade. I admit that as your stylesheets get more and more complicated, so the cascade gains in complexity with it. At it’s core, however, it’s pretty simple. There are three things you need to keep in mind: order, specificity, and inheritance.
The latest version of the Firefox browser is due for release in the near future, and the nightly and beta versions I’ve been testing show that it’s taking a big step forward from its predecessor. As well as the many usability and performance enhancements, there are a whole host of improvements to the engine; mainly (but not exclusively) geared towards web applications with the implementation of HTML5 events and attributes. SVG support is greatly improved (although I think they’ve missed a trick by not allowing it in the img element), and JavaScript version 1.8 is included.
With all the new goodness, it seems that CSS might have been left behind a little. I can’t complain too much, as many fixes have been made to allow the browser to pass the Acid 2 test, but it is slightly disappointing when you see the advances Opera and Safari have made in the implementation of CSS 3 features (even with proprietary prefixes).
That said, there are a number of new features which are worth bringing to light.