From the course: Creating a Responsive HTML Email
Unlock this course with a free trial
Join today to access over 22,500 courses taught by industry experts.
Styling the table row for the logo - HTML Tutorial
From the course: Creating a Responsive HTML Email
Styling the table row for the logo
Now, to add some style to the logo row, let's come down inside of the first tr. Let's find the td. Let's add a space. Let's start adding some attributes in here. So, I'm going to start with valign. Set that to top. Next, we're going to set a class of logo. Then BG colour. I'll set that to white. So, Pound Sign and six Fs. Next, we'll set an inline style. First property's going to be padding. We use shorthand style here. So, ten pixels on the top, space, 20 pixels on the right, zero on the bottom, 30 on the left. Next is going to be border-left. Shorthand style for this is going to be size of one pixel. Style is solid. Color is dbc064. Then we're going to set border right. One pixel, solid, dbc064. And then border top, one pixel, solid and the same color as the other two. Once that's in place let's come inside of the td. Let's add an image inside of here which is going to be the large logo. So let's start with an image tag: source equals images slash logo underscore large dot gif. Next…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Setting up the base layout structure3m 36s
-
Styling the table row for the logo2m 24s
-
Styling the table row for the headline2m 32s
-
Styling the table row for the banner and content2m 51s
-
Styling the table row for the promos2m 55s
-
Styling the table row for the callouts2m 47s
-
Styling the table row for the footer1m 10s
-
-
-
-
-
-