Join Chris Converse for an in-depth discussion in this video Styling the content and footer for smaller screens, part of Creating a Responsive HTML Email.
So now for the medium sized screens, we're going to modify the content row.…Let's get our cursor inside of the max-width of 600 media query.…So let's come in here and target the content row.…So td.content, space.…We're going to set padding-bottom at 30 pixels.…Then set the important flag.…Then we're going to do background image,…we're going to specify images/banner_medium_ghost.jpg,…then the important flag.…
Now we did specify the background image on that element,…inside of an inline style, to specify the banner large ghost.…So we do need to override that with an important tag.…Next, we're going to target the call to action button.…So we're going to do td.content table.button.…We're going to set the width to auto.…And then td.content…table.button td a.…We're going to set the font size to that anchor link to 14 pixels.…Set the important tag on that as well.…
With those in place let us go down to the small screen rules.…Let's hit Return.…Let's come in here and target the content row, td.content,…we are going to set a line height of 20 pixels,…
This course was created and produced by Chris Converse. We are honored to host this content in our library.
- Creating the graphics
- Setting up the base layout structure
- Styling the table rows for the headline, banner, etc.
- Creating buttons
- Adding CSS media queries
- Styling the content
- Incorporating animation and web fonts
- Validating your code
- Testing in various email clients
Skill Level Beginner
Q: What are the sizes of the images used in this course?
Q: This course was updated on 11/26/2013. What changed?
A: We added two new movies to Chapter 5, "Adding HTML5 video into HTML email" and "Encoding and embedding base64 images."
Q: This course was updated on 12/03/2014. What changed?
A: We added one bonus movie, "Using high-definition graphics in your HTML email."