Posts

Hybrid email coding

Image
Hybrid (or Spongy) is a method of coding that was developed (by MailChimp’s  Fabio Carneiro ) when a fix was needed for emails to display responsive on devices that didn’t read media queries. The basic idea for this method is to have separate code for the notorious outlook and the rest reads the html as its coded (inline). <table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″ class=”[class.name]”> <tr> <td  align =” center ”  valign =” top ”  style =” padding:0px;text-align: center; vertical-align: top; font-size: 0px; ”  class =” padleft “> Before hybrid coding is started the table data that will contain the div’s has to have the above code. The code allows each div width a specific width to sit beside each other when rendered in a browser. A class will be created and used in a media query (max-width:601px) to force the table to be 600px wide. This will ensure devices that read media query render the outer table at 600px.   <!...

Support or not to support

There was this really good article that puts some light on the @support feature for browsers. Seems pretty good but is @support even supported? http://www.hongkiat.com/blog/css-supports-rule/

Responsive menu for responsive emails

Recently I tried something new with responsive emails. I had a lot of links in my desktop and didn't want let them go but if is in my mobile view the first thing some sees the header of the email and links. I tried something new. I created the email in such a way that user chooses to see the links on their own. A button like the Facebook app was created and coded so that when users clicked on it, all the links opened and second click closed it. The worst thing is that you can not hide anything on emails. I have perfected this and can use it on any email client. There is two sets of user experience when the same email is opened on two different client. All this done with just HTML and CSS. Emails ... the current trend as I see it is only going up. I wonder what the boundaries/limitations are ... what is he maximum I can do with emails.

Responsive email design

Many designers have said that responsive has to be done small up, meaning starting with a smaller screen and the working your way by coding for the bigger screen. I on the other hand have been working my way down. Towards the end of last year I got my first taste of what responsive email design is. As it is coding emails to show the same across all email clients is a big task. With two years of experience now I can say that I have tackled every kind of design clients could throw at me. Now since its getting boring coding only desktop emails I have taken up responsive emails to keep myself busy ... and busy it keeps me. Media queries plays the most vital role in any email. Its the backbone in which responsive will be ... responsive. @media only screen and (min-device-width:320px) { body{background-color:#ff0000 !important;} } The above is just building block for the email telling the browser if its "device" width is 320px then turn the background of the body to red. See...

CSS4 .. Its almost here!

CCS 4 ... its new and banging at the door to enter the market. There is a few changes that were implemented to make coding a little easy. More like making it conditional :-s A simple coloring where we define each instance if the link will be coded as: ul.menu li a:link, ul.menu li a:hover, ul.menu li a:visited, ul.menu li a:focus { 5 color : red ; } With the new shorthand code it looks much cleaner and understandable. ul.menu li a:matches(:link, :hover, :visited, :focus) { color : red ; } Mote examples and a further reading can be found at http://coding.smashingmagazine.com/2013/01/21/sneak-peek-future-selectors-level-4/ Happy reading!

Microsoft gone responsive

Every designer wants to come up with a site that makes people go " WOW! ". Microsoft recently launched their new website and it has the world in a buzz. They have gone responsive with their design right down to the individual jquery animations. http://rainypixels.com/words/the-story-of-the-new-microsoft-com/

HTML5 back to basics?

It seems html5 wasn't the new industry standard after all. according to this article html5 was conjured up in 2005 and now the person who started doesn't know why he placed all those tags (header, nav, section, article, footer and others). Recommendation is to use what we used to use. Now how annoying is it for newbies who had started a little while ago being told to learn another things lol. The article can be found here or http://www.netmagazine.com/features/truth-about-structuring-html5-page.