Join Chris Converse for an in-depth discussion in this video Rearranging the callouts for medium screens, part of Creating a Responsive HTML Email.
Now, we're going to create the CSS rules for the medium sized callouts.…What we're going to do is we're going to take the…four columns and now arrange these in a grid.…So to do this let's get inside of the media queries or the medium screen.…Let's add some more rules.…So we're going to start by targeting the table inside of the callouts.…So we're going to type td.callout table. We're going to set the width…to 50%.…Then we're going to set the important flag.…
Next we're going to set margin bottom of 40 pixels.…Next we're going to hide the images inside of the callouts,…so we're going to do td.callout table image, set display to none.…Next, let's target those break tags.…We're going to remove this space between the paragraph and the link.…So,…td.callout table br. We're going to set display to none.…Then we're going to target the anchor links td.callout table td.…
We're going to set the display to block, so we'll put…it on it's own line, margin top of 10 pixels.…Then the td itself, so td.callout table td.…We're going to set the background size…
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."