Join Chris Converse for an in-depth discussion in this video Styling the promos for smaller screens, part of Creating a Responsive HTML Email.
So now we're going to set some rules to target the promo as well.…So let's scroll up into our midi queries inside of the…medium screen size, let's come in here and add some new rules.…First we're going to target the table inside of the td promos.…So I'll start with td.promos table, let's set a width of 200 pixels.…And then the important flag.…Next we'll target the headings inside. So td.promos…table td h3. We're going to set a margin bottom of…eight pixels. Next we'll target the…images, td.promos table td image.…
We're going to set display to none. Next, we're going to…target the td inside of promo one. So,…td.promos table.promo_1 td.…Let's set a background property, no color, url is going to be…images/promo_1_ medium.jpeg.…No repeat…zero pixels on the x, zero pixels on the y…and padding we're going to set to 100 pixels on the top, zero on the right, zero…on the bottom, and zero on the left. Next we're going to target the td in promo…two, so td.promos table.promo_2 td.…
Background, no color. URL is going to…
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."