While I was coding the Elemin Theme (a responsive WordPress theme that I recently designed), one of the challenges that I faced was to make the embedded videos elastic. Using the max-width:100% and height:auto trick works with native HTML5 video tag, but it doesn’t work with embed code using iframe or object tag. After hours of experimenting and Googling, I finally found a trick on how to achieve this. If you are creating a responsive design, this simple CSS trick will come in handy. View the final demo and resize your browser window to see it in action.
I just wanted to post a quick announcement that I will be speaking at Mad in Spain on June 3rd, 2011 (organized by Domestika). This will their 6th anniversary. Mad in Spain is one of the biggest design conferences in Spain. My presentation topic is about applying art in modern web design. After the conference, I will be spending a week in Barcelona and a week in Paris after that. I will be touring and working during those time.
Screen resolution nowsaday ranges from 320px (iPhone) to 2560px (large monitor) or even higher. Users no longer just browse the web with desktop computers. Users now use mobile phones, small notebooks, tablet devices such as iPad or Playbook to access the web. So the traditional fixed width design doesn’t work any more. Web design needs to be adaptive. The layout needs to be automatically adjusted to fit all display resolution and devices. This tutorial will show you how to create a cross-browser responsive design with HTML5 & CSS3 media queries.
Recently I’ve joined a group of artists to support Japan earthquake relief efforts. Each artist contributed a piece of art work dedicated to raise funds. The artworks will be displayed and available for purchase at the To Japan with Love (Facebook event) art show which is organized by Linda Nakanishi. All proceeds from the show will be donated to Canadian Red Cross.
I have two FITC conference tickets to give away. For those that don’t know about @FITC, it is one of the biggest conferences and workshops dedicated to web designers and developers. The event will take place in Toronto between May 2nd to 4th. I will be attending the conference as usual. Here is your chance to win a free ticket. You just need to tweet a message to enter the contest (read this post for details). If you are interested in purchasing tickets to the event, I have a special coupon for you: enter "webdesignerwall" to save $100.
Due to a number of requests, I’m writing a detail tutorial on how to create an animated scroll to top as seen on Web Designer Wall. It is very simple to do with jQuery (just a few lines of code). It checks if the scrollbar top position is greater than certain value, then fade in the scroll to top button. Upon the link is clicked, it scrolls the page to the top. View the demo to see it in action.
I’m givingaway a brand new iPad 2 at Themify.me to promote the new buy 1 get 1 free WordPress theme special deal. To enter the iPad 2 Giveaway Contest, all you have to do is to help to spread the word by tweeting a message: "iPad Giveaway: @themify now offers buy 1 get 1 WordPress theme free. Tweet this message to enter the contest. Details: http://bit.ly/e5YVun".