Archive for 'CSS'

This-morning I had to quickly run up some questions for someone’s second interview. We were looking for someone with good front end knowledge, so I knocked up some questions to ask them. I found these were very good at getting them talking, and gave them a lot of potential to show they had a strong [...]

Vertical center in CSS

Sep. 4, 2007 No Comments Posted under: CSS

Yesterday a collogue asked me about vertically centering (centring) a div in CSS. Vertical align in CSS does not seem to be able to solve this too well, and I had previously assumed that the only way to achieve the desired effect was to use JavaScript to get the window height and then subtract half [...]

A long time ago now, before he got sucked into Apple (and recently Yahoo it seems) a young man called Dunstan Orchard implemented a banner image in his blog that changed with the weather conditions of where it was taken (a photo of his parents house).
Today I noticed that Google have also implemented this feature [...]

Dear Santa,
I recently came across a post on Andy’s website suggesting I should write you a letter to ask for a copy of the book, CSS Mastery for Christmas.
Not knowing much about the book I decided to do a little research and discover if I really did want it…
The book is entitled CSS Mastery: Advanced [...]

Whilst being Pr0 and trying to work around IE’s inability to understand the CSS :after class I used JavaScript to add a clearing element after the classes through the DOM, but only for IE. (I know browser sniffing is wrong but if it adds in a clearing element in Opera too there won’t be any [...]