February 22, 2005

New Resources Page

I have added a Resources Page to the site with a permanent link in the right sidebar.

February 20, 2005

February notes: Examples of Using Classes

At our February meeting, we covered the Class selector. We will finish up in March. Your homework is to review this sample page of different combinations of classes. Save the file to your own computer, then play with different combinations to see how they work.

Unfortunately, Internet Explorer (Win and Mac) is not entirely standards compliant when it comes to classes. I will cover that issue in March. For now, I suggest trying this sample page in a browser like Firefox or Opera.

February 12, 2005

February 19 Meeting Announcement

Our next session will be this coming Saturday, February 19, at our usual time of 9-10 in room 713. This month, we are going to be talking about Classes. Classes let you move from just styling individual HTML tags to getting truly flexible in your use of CSS. It's great stuff--don't miss it.

We will have an extra credit session at 8:45. I have been keeping examples of best practices for CSS, and I will show a couple of those practices as a wrap-up to our text styling and units of measurement. We will be getting back to those topics when we get to fonts, so there will be more to come.

See you Saturday.

Another example of using line-height

Member Ken Taylor forwarded another interesting example of using line-height. As Ken explains,
I tried a different approach using positioning rather than line-spacing. This is the correct way to do it. It resolves problems between browsers.

In this example, I used predefined font-size rather than points so that in IE it changes if you change text size. If I used points it would always be the same size (except in Opera where it is Zoom rather than Text).