New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Formatting the headers and footers

From: Creating an HTML Email Newsletter

Video: Formatting the headers and footers

We're ready in this video to finish off our e-mail by coding the headers and footers at the top and bottom of our e-mail. We did set the font size here, but we'll also need to set the margin and padding. Go to our css prep file, Ctrl+C or Command+C to Copy, Ctrl+V or Command+V to Paste. We want the padding top and bottom probably 5 pixels is fine. We set the padding top and bottom instead of margin top and bottom, because older e-mail software often ignores margin while paying attention to padding, so let's save and see what we did, the spacing looks good.

Formatting the headers and footers

We're ready in this video to finish off our e-mail by coding the headers and footers at the top and bottom of our e-mail. We did set the font size here, but we'll also need to set the margin and padding. Go to our css prep file, Ctrl+C or Command+C to Copy, Ctrl+V or Command+V to Paste. We want the padding top and bottom probably 5 pixels is fine. We set the padding top and bottom instead of margin top and bottom, because older e-mail software often ignores margin while paying attention to padding, so let's save and see what we did, the spacing looks good.

Let's also, while we're adding, adjust the color. If we go to our worksheet, we'll see that the color in hexadecimal is cfce96, so let's save our work and see what we have, that looks good! We'll set the anchor tag information last. Next, let's worked at the copyright and find us on Facebook. To adjust the other bits of footer copy, we'll simply put this information about color and paste it in here and here.

We also need to grab the margin and padding values, Copy, Ctrl+V or Command+V to Paste, and here, and Save, that looks pretty good! We need to set the margin or padding for the copyright notice. So we use padding for the older browsers and we'll set it to 20 pixels. Now that we're down here, let's adjust these width a little bit, let's tighten the space around our Facebook icon.

We had the width for our Facebook icons set to 50, let's set it to around 40, and up here, let's reduce this by 10 to 190; we'll Save and check, that's make it a little bit tighter. The next thing we'll work on are the anchor tags styles. We'll scroll up; here we'll need to set the color mostly. If we look at our worksheet where we define the colors and dimensions of our e-mail, we can see that the color for this link is c3e85d in hexadecimal.

save and check, great! And finally, let's work on these minor tables at the top and bottom, we'll scroll up, we need to set the width to 550 pixels at the table and TD level, let's scroll down to the bottom, we'll also set the width here, 550 pixels, and we will add basic font styles and then add the copy.

We go to our css prep file, highlight, copy, paste, this is mouse print, so we'll set it to 10 pixels high, we'll leave the line-height. For now we'll set basic unsubscribed information. We'll Save and check, great! With our header and footer complete we're ready to begin testing formally.

Show transcript

This video is part of

Image for Creating an HTML Email Newsletter
Creating an HTML Email Newsletter

14 video lessons · 18403 viewers

Tim Slavin
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.