
Originally Posted by
pmw57
It's about progressive enhancement.
First you get the page working as best as possible using only standards-based html. This means only inline elements inside anchors. No block-level elements are allowed.
Next, you use javascript to improve the experience, by allowing clicks on the background area of the linked items to be considered a link click as well.
There is a way to do this without javascript at all, and that's where a second image of transparent pixels is used and placed behind the text, but that won't degrade as nicely when there's no css.
So apply the progressive enhancement principles. Start with standards-based HTML, improve the presentation with CSS, then enhance the behaviour with javscript. That's the most reliable way for any design to work across a majority of interfaces.
Bookmarks