Margin Collapse is a foxy little fox that dresses like George Clooney in the Fantastic Mr Fox. It’s a sly one alright and has caused many a good web developer to bash their head in frustration when that pesky margin will just not disappear. So what is margin collapse. Well usually it just happens and…
Read MoreThe Problem Although getting data from databases is obviously loads better than having to hard-code zillions of pages, one problem with dynamic data is that the data can varying enormously in quality and length. Take the example of an address. We may have: Hill top View, 54 Manor Walk, Chucklebury, Springfield, Yorkshire, S99 5TP or…
Read MoreSorry Grandad, frames and tables – you’re having a laugh aren’t you? Before you abandon this post for been just soooo 1990s I only want to clear up a few things related to our old (friends!) frames and tables. Lately, and somewhat unbelievable, I have seen references to these technologies as layout techniques – noooooooo!…
Read MoreMany popular visual effects that previously required background images and the use of your Favourite Graphics Editor (FGE or Photoshop for short), can now be done with CSS3 magic. Here is a quick overview of six crucial CSS3 features. Before We Start: Browser support is an issue with these features. You’ll need a decent, lets…
Read MoreIE don’t you just love it? No probably not but unfortunately we still live in a web world dominated by Internet Explorer – Microsoft were just way too successful in getting their browser everywhere. Here in the UK, Internet Explorer in all its different guises, still has the largest market share as calculated by statcounter.…
Read MoreIn my 20/20 CSS properties to learn and love I didn’t include ‘position’. So what is the position on position? The odd thing with position is that despite its name you can do an awful lot of layout positioning without it. Lots of web designers, and indeed frameworks like the 960 grid, solved the layout…
Read MoreEU law in its infinite wisdom now requires web sites to be explicit about Cookie usage. I am not going to explore the legal rights or wrongs of these regulations. If you want more information see: Information Commissioner’s Office Any EU web users will by now have seen these “cookie consent” forms pop up on…
Read MoreThis is for everybody Danny Boyle’s opening ceremony for the London 2012 Olympics was just fabulous. I was jumping from my seat when the house lifted to reveal Sir Tim Berners-Lee sat at his NeXT computer. One for Geeks. Brilliant. Apparently NBC didn’t know who he was. Hmmm. Check out. http://www.w3.org/People/Berners-Lee/.
Read MoreNote: There is a newer post that repeats the same functionality of this example but makes use of Knockout.js – Adding Form Fields Dynamically with Knockout.js Sometimes, for example with a content management system, the user needs the ability to add fields dynamically to a HTML form. As jQuery is the King of DOM then…
Read MoreAn accordion effect is a nice way to efficiently use the limited space available for menus. In this simple example the staring HTML is a nested <ul> list. The HTML is: The CSS for this is as follows: The key line here is the display:none set for the child <ul> elements. The jQuery is incredibly…
Read More