Posts for July, 2008

Form layout using negative margins

Use negative margins and light weight semantic markup to display a form with the labels on one side and form elements on the other. No tables or divs needed at all. Works in all browsers. Noone who wasn't a web developer would believe what a pain it is finding a good solution to this little problem.
Published in CSS on Sunday, July 27th, 2008

The bleeding edge of web: media queries

Media queries are extra params for the CSS @media types that you can use to target styles for different devices based the device’s capabilities like dimensions and colour depth. They are part of the W3C CSS3 standard and are supported in the latest vesion of Opera (desktop and mini versions), Firefox and Safari. Media queries […]
Published in CSS on Friday, July 18th, 2008

Using the javascript querySelector() method to find DOM elements

The document.querySelector javascript method queries a HTML document for DOM elements that match a CSS selector. It is built-in browser support for the selector query features that made javascript libraries like JQuery so popular. It is part of the W3C selectors api spec. This feature has excellent support in recent versions of all desktop browsers, […]
Published in Javascript on Saturday, July 12th, 2008

New ASP.NET server control book for .NET 3.5

Here’s a small plug for Joel who has just released a book on something quite dear to my heart, ASP.NET server controls. It’s called Advanced ASP.NET AJAX Server Controls for .NET Framework 3.5 and looks very interesting. I’m looking forward to adding it to my library. It’ll be nice to have an update to Nikhil’s […]
Published in Server controls on Thursday, July 10th, 2008

Del.icio.us: not responsible for the cancellation of Stargate

The FAQ on del.icio.us made me laugh: (I wonder if they could do something about the new X-Files movie next…?)
Published in Web development on Monday, July 7th, 2008

Debugging pages in Safari

I’m getting quite interested in Safari because it seems to be where a lot of the early implementations of interesting new standards is happening. It makes me happy to get a little glimpse at what the future of web development might look like. :) The problem is Firefox has really spoilt me with all it’s […]
Published in Tools on Saturday, July 5th, 2008