Setting content styles


show more Setting content styles provides you with in-depth training on Web. Taught by Eric Meyer as part of the CSS Web Site Design show less
please wait ...

Setting content styles

For this video, we're just going to do a really, a little bit of cleanup in the content column, The Legendary Origins of Tea heading is going to get a little bit of a spiff up and we'll take that tea kettle image and push it over to one side and let the rest of the text flow around it. So, into picture size 1005, the ex1005.css I'm going to add this content h2, give it a little bit of top and bottom margin, a little bit of bottom padding and then put this solid greenish border across the bottom and for this one, we're actually going to set its font size to be 1.5em, just like we did with the h1, because in the design comp, both of them were the same text size. If we hit Reload, you can see the difference. Now these don't quite look the same actually because The Legendary Origins of Tea is mixed case and the about tea history is all in lower case.

Legendary Origins of Tea almost looks bigger, but they are the same size, and that's one of those things that once the d...

Setting content styles
Video duration: 1m 53s 6h 8m Intermediate

Viewers:

Setting content styles provides you with in-depth training on Web. Taught by Eric Meyer as part of the CSS Web Site Design

Subject:
Web
Software:
CSS
Author:
please wait ...