Web Development (7)
HTML, â@widthâ, and â@heightâ
As the width and height attributes are to remain part of HTML, limit their use. The reason to avoid @width
and @height
is that they are presentational and hence constitute potential maintainability issues.
#104 ¡ ¡ html, maintainability
Testing Tricks: CSS Bookmarklets
On complex development environments and CSS bookmarklets as a testing complement. Complement as in youâve done everything you can but want to err on the safe side.
#103 ¡ ¡ css
One Photo: Reset Style Sheets
It never gets boring.
#102 ¡
The Secret of Web Development
Playfulness.
#101 ¡
CSS: How to Host Right-to-Left Styling
For international projects, donât use separate style sheets for right-to-left (RTL) styling: use natural (@dir
) or artificial (@id
, @class
) hooks instead. The only exception are unbearable performance issues due to hundreds of RTL rulesâŚ
#100 ¡ ¡ css, maintainability
On Solutions
Solutions require problems. If you donât have a problem, you donât need a solution. This is exactly why you should, whenever someone proposes a solutionâwhich includes design and technical changesâask what problem that solution solvesâŚ
#99 ¡ ¡ misc
CSS Validation and Vendor Extensions: Throw Warnings, Not Errors
If you understand valid code as a quality baseline, you validate your code. If you validate style sheets, you come across errors like âProperty -moz-border-radius
doesnât existâââŚ
#98 ¡ ¡ css, conformance
Real Web Developers Donât Need Debugging Tools
Bottom line: Try to limit your use of web dev debugging toolsâlike Firebug or Chromeâs Developer Toolsâin order to grow your skills.
#97 ¡
âpxâ Is Dead, Long Live âpxâ
Itâs over. There is no ban on px
anymore. The only reason why we as web developers had to adjust coding practices were user agents that failed to meet user agent accessibility guidelines.
#96 ¡ ¡ css
How to Become a Solid Web Developer, the Short Version
Every once in a while people ping me on how to master web development and design. Given how much thereâs still to learn for me this makes me blush. Chronically short on time I typically reply in just a few sentencesâŚ
#95 ¡
WDR #4: Having Conversations in HTTP
The Web Dev Report, issue #4.
#94 ¡
HTML/CSS Frameworks: Useful, Universal, Usable, Unobtrusive
A high quality HTML/CSS framework needs to have four attributes: useful, universal, usable, and unobtrusive. The four Uâs.
#93 ¡ ¡ html, css, frameworks, quality
The 3 Ground Rules for Writing HTML
The fundamentals every web developer should know: on respecting syntax and semantics, avoiding presentational and behavioral markup, and leaving out everything that is not absolutely necessary.
#92 ¡ ¡ html, conformance, semantics
HTML, CSS, and Web Development Practices: Past, Present, and Future
Articles with a title consisting of more than 15,000 characters donât need an introduction.
#91 ¡ ¡ html, css, maintainability
Website Optimization Measures, Part VII
In this episode: Unquoted attribute value syntax, q elements, Google Friend Connect, feed styling, work/life balance. Served in no time.
#90 ¡ ¡ optimization
âHTMLÂ 5â or âHTML5â?
Itâs âHTML5,â not âHTMLÂ 5,â declares the most recent post on the WHATWG blog. A seemingly trivial matter, yet itâs inconsistent.
#89 ¡ ¡ html
The True Advantage of CSS
Despite CSS being around for a long, long time, there are still some myths around it. Reading Mikeâs post on CSS evangelism again I couldnât only relate to Mikeâs concerns, I also felt reminded ofâŚ
#88 ¡ ¡ css, maintainability
Diagnostic Styling Reloaded
Eric cultivated the concept of âdiagnostic styling,â meaning using CSS to track down problems within HTML documents. Iâve been working with diagnostic style sheets for general quality assuranceâŚ
WDR #3: Optional Tags, Unquoted Attribute Value Syntax
The Web Dev Report, issue #3.
#86 ¡ ¡ html
Microformats, Key Flaws
I like the idea behind microformats, but Iâm not convinced of the way that idea is brought to life. I see three major flaws that appear to make microformats stand in their own way.
XHTML, RIP
Letâs end this week of morbid posts: The XHTML 2 Working Group is expected to stop their work end of 2009. âToday the Director announces that when the XHTML 2 Working Group charter expires as scheduled at the end of 2009âŚâ
#84 ¡ ¡ html
âhandheldâ Media Type, RIP?
Website authors donât use handheld
as itâs barely supported; mobile device manufacturers donât support handheld
because itâs barely used. This is kind of the situation I think weâre facing, and itâs a problem.
#83 ¡ ¡ css
Letâs Make The Web Faster
Two weeks after my last outcry regarding slowness on the Web thereâs a more proactive response: Google launched code.google.com/speed, subtitled âletâs make the Web faster.â
#82 ¡ ¡ html, css, performance
Maintainability Guide
Maintainability is important in order to deal with change. Good maintainability means making change easier and more affordable, and avoiding change that is not necessaryâŚ
#81 ¡ ¡ html, css, maintainability
Punctuation Cheat Sheet
Developing and working with international sites is an interesting challenge, not just because of right-to-left contents. Typographically, there are differences between many locales. To improve punctuation in Google translations Iâm using a localization aidâŚ
#80 ¡ ¡ design
CSS: The Maintenance Issue #1 and How You Can Avoid It
The biggestâas most unnecessaryâmaintenance issue in web development is, as my recent research shows, style sheet naming and integration. Web developers use inadvisable style sheet names and inadvisable ways to integrate style sheets that force themâŚ
#79 ¡ ¡ html, css, maintainability
Notes on XML, Elements, and Attributes
Knowledge of the design of markup languages is something I consider beneficial for my job as a web professional. A few notes on XML design, inspired by internal and external documentation.
#78 ¡
Why CSS Needs No Variables
CSS variables and constants are one of the top features web developers are asking for in web development fora, magazines, blogs, and on W3Câs www-style. Following a concept written by Daniel Glazman and Appleâs Dave Hyatt, the WebKit rendering engineâŚ
#77 ¡ ¡ css
The Stupidest Style Sheet Name Ever
The last name you want to pick for your style sheet is âstyle.cssâ. Why is âstyle.cssâ such a poor CSS file name? The main reason is maintenanceâŚ
#76 ¡ ¡ css
CSS: Style the Non-Obvious
One of the qualities you have to acquire as a web developer is to see the non-obvious, and to use that skill to your codeâs advantage. Let me explain by two simple examples.
#75 ¡ ¡ css
Performance of CSS Selectors Is Irrelevant
âŚif you like to have a strict read of Steve Soudersâ recent research. Weâve still got few but now a few more numbers backing up what we always suspected, that merely optimizing selectors is micro-optimization.
#74 ¡ ¡ css, performance
Website Optimization Measures, Part VI
In this episode: On the utilization of Google Friend Connect, maintenance of Google Analytics, sanity checks, type attributes, charset rules, cite elements, and ICRA labels. Fresh and sexy.
#73 ¡ ¡ optimization
When to Split Style Sheets
Three factors influence whether it makes sense to split style sheets: probability, meaning (aka semantics), and granularity.
#72 ¡ ¡ css
Performance and RFCÂ 2396
RFC 2396 specifies that relative URIs like //foo
get resolved as http://foo
. This means, if you link a resource like https://example.com/
, @âhref
may as well just point to //example.com/
.
#71 ¡ ¡ performance
Arial, Helvetica
An extension of my post on Arial and Helvetica: For those who want or have to use Arial as their standard font, there is no point in mentioning Helvetica anywhere in the code, as in arial, helvetica, sans-serif
.
#70 ¡ ¡ css
The Two Great Things About Validation (and Conformance)
There are two great things about validation: Validating helps technical understanding and thus contributes to awareness of respective specifications, and writing valid code is a sign of professionalism.
#69 ¡ ¡ conformance
Browser Support: The Two Metrics That Count
There are two things that matter to determine what user agentsâbrowsersâto support on a given site: First, what popularity (percentage of market) makes a browser important to support? Second, what browsers pass that threshold?
#68 ¡
5 Cool Ways to Support the W3C
I recently got a mail by someone interested in supporting the World Wide Web Consortium (W3C) similar to how I do it. While replying I noticed that the information I was about to share might not be obvious to everyone, but still importantâŚ
#67 ¡
HTML vs. XHTML: Why HTML Wins
Document types are cool, and there are plenty of them. There are plenty, countless discussions about the ârightâ document type, too. Alas, these discussions may deal with irrelevant details or miss the point.
#66 ¡ ¡ html
5 Tips To Deal With Right-to-Left Projects
Know what goes into your markup and what goes into your style sheets. Itâs actually simple: When available, you should always use dedicated bidi markup to describe your content. CSS may not be available, and the specs actually say thatâŚ
#65 ¡ ¡ css
The Greatest Secret in Web Design
Alright I cheated, this isnât a secret. Or an open secret. Or whatever. Itâs that web design is a process. Good web design is an ongoing endeavor.
WDR #2: Web Developers Needed for a Website
The Web Dev Report, issue #2, this time featuring a classic situation.
#63 ¡
How to Uncover Pseudo-Standardistas
Thereâs a growing group of developers that doesnât help our attempts for faster, more accessible, more maintainable, and generally quality-oriented web development: pseudo-standardistas.
#62 ¡
WDR #1: Versioned Style Sheets
Ladies and gents, all I presentâs⌠the Web Dev Report, issue #1.
#61 ¡ ¡ css
5 CSS Tips Every Web Developer Should Know About
Of all the tips this site shares, the following ones may be special. Letâs quickly run through what might be essential for every web developer to know about CSS. Main focus: maintainability, though differently.
#60 ¡ ¡ css, maintainability
Website Optimization Measures, Part V
Almost half a year since the last article itâs about time to present version 5 of random website optimization measures, hopefully of use for your site as well. Short and crispy, to use a random German expression.
#59 ¡ ¡ optimization
An Exercise for Emerging CSS Experts: Avoid IDs and Classes
To gain more expertise with CSS, thereâs a great bonus level: Try to avoid IDs and classes altogether. Thatâs right: Write your markup without any IDs and classes.
The Most Annoying Yet Most Important Task in Website Management
âŚis link checking. There are tools out there, en masse, but we still have to run after professionals who neglect online fundamentals or donât set up redirectsâand with that waste other peopleâs time.
#57 ¡
Code Responsibly
Exactly.
#56 ¡
Accessibility Heuristics
You can bolster your accessibility knowledge by internalizing heuristics and ground rules. Review the guidelines and rules provided by the W3C and IBM.
#55 ¡ ¡ accessibility