Archive for the ‘Web Development’ Category

Baking censorship into the spec

Friday, June 12th, 2009

There is a proposal to introduce a new <nsfw> element into the HTML5 spec. The idea is to flag potentially censorable content that might get you fired or otherwise offend your fair-hearted co-workers, I suppose. I am uncomfortable with the idea of baking in a self-censorship construct, or any kind of ...

RGBa and -webkit gradients: Yes.

Wednesday, May 27th, 2009

When @malarkey asked if RGBa worked with -webkit gradients, my own curiosity couldn't resist a quick and fugly test to see. Yes indeed, it works: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"   "http://www.w3.org/TR/html4/strict.dtd"> <html>   <head>     <title>Gradient Test</title>     <style type="text/css" media="screen">       body {         background-color: green;       }       div {         background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(50,50,50,0.8)), to(rgba(80,80,80,0.2)), color-stop(.5,#333333));         width:80%;         height:5em;         margin:0 auto;         padding:1em;         text-align:center;         color:white;       }     </style>   </head>   <body>     <div>Hello World!</div>   </body> </html>

Waxing Firefox, Waning IE

Friday, January 2nd, 2009

IE continues it's downward spiral as the browser dips below 69% at the expense of Firefox and the WebKit-powered duo of Apple Safari and Google Chrome. The breakdown as paraphrased by TG Daily: Net Applications released updated global browser market share numbers today, indicating that IE is losing users at an ...

The madness of screens vs. browsers on the mobile web

Sunday, December 28th, 2008

This evening as I was doing some research on mobile web development, I got myself on a tear about the wild differences we face as web developers regarding screen sizes and default browser installations, and came up with this: MakeModelResolutionDefault Browser Engine* AmazonKindle600 x 800NetFront AppleiPhone480 x 320WebKit AppleiPod Touch480 x 320WebKit BenQM315128 x 128Opera HTCG1320 ...

The woes of CSS color in print typography

Sunday, December 7th, 2008

As I was working through some documentation on styling CSS for print recently, I came across an oddity. Colors that I was specifying in my print styles were not getting represented properly at print time. Specify a nice shade of gray for some text? Maybe want to ghost print something ...