The Best CSS editor in my opinion is Topstyle available from: http://www.topstyle4.com/ They have a free trial which I recommend you look at. Another excellent CSS tool, is rapid CSS. This tool is cheaper than Topstyle, and has a very similar toolset. Rapid CSS: http://www.blumentals.net/rapidcss/
1. Introduction to CSS
Simply put, CSS (Cascading Style Sheets) is a powerful "tool" that webmasters have available to them, to help them design and then further, maintain the look and feel of their sites, with minimum effort. In this chapter, I just want to wet your appetite for style sheets, and show you their potential. In the remainder [...]
2. Table-less Page Layouts
In the last chapter I gave you an introduction to Cascading Style Sheets (CSS) by showing you some examples of text formatting using stylesheets. You also saw how quickly you could change the look and feel of a complete site, by changing one file – the stylesheet. In this chapter, we’ll continue with this introduction [...]
3. CSS Basics
4. Using Topstyle Lite for editing style sheets
In the last chapter, you downloaded a tool called Topstyle Lite. This tool is great for exploring CSS, so if you didn’t download it, I highly recommend you get it now. In this chapter, we’ll look at how to use it to create and modify stylesheets. OK, start Topstyle Lite. We have seen some "selectors" [...]
5. Pseudo Classes
In the last chapter we looked at using Topstyle Lite to create cascading style sheets (CSS). Hopefully you have had time to play with it some more, and become comfortable with creating a style sheet. One thing I can’t do in this course is teach you everything there is to know about CSS. My goal [...]
6. Pseudo-Elements
7. The “Float” property
In the last chapter we looked at "Pseudo-Element Selectors", and despite its complicated name, we saw that they were easy to use. The drop-capital example from the last chapter used the "float" property, and it is that property I want to look at now, with specific reference to images. NOTE: If you use a very [...]
8. IDs and Classes
In the last chapter, we talked about Class & ID selectors, and I left you with this example: http://creatingfatcontent.com/csscourse/7/7.htm .rightalignimage{ float: right; margin-right: 20px; } .leftalignimage{ float: left; margin-right: 20px; } In that example, I created a couple of classes to modify the properties of images. One for left align, and one for right [...]
9. Length Units
10. DIVs
11. Creating a Simple 2 Column Layout
12. A 2 Column Layout with Footer
13. A Simple 3 Column Layout
In the last section you created a two column layout. Now, I want to show you how easy it is to convert that to a three column layout. As a reminder, here is the template we created in the last section: http://creatingfatcontent.com/csscourse/12/2col-10.html body { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 70%; } h1 [...]
14. The Box Model
In the last chapter we created a floated three-column CSS template. Now, I want to start looking at positioned layouts, as these have the advantage that "divs" can be in any order in the HTML file (meaning main content can be moved up the document to make it the first thing the search engines see [...]
15. Positioning Boxes Using Absolute Positioning
In the last chapter we looked at the box model, which is vital to creating CSS layouts. You can remind yourself of the box model here: http://creatingfatcontent.com/csscourse/14/box-model.htm Now, I want to look at the next part of this puzzle – how to position a box on the page using absolute positioning in CSS. In [...]
16. 2 Column Positioned Layout
17. Column Positioned Layout
In the last chapter, we built a positioned 2 column layout, so now we can take it one step further, and turn it into a 3 column layout. Here is the 2 column template we created in the last session: http://creatingfatcontent.com/csscourse/17/basictemplate.htm body { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 70%; } #header { [...]
18. Creating a Basic Menu Using CSS
With the basis of our three-column template established, the last remaining piece of the jigsaw is the navigation system. When most people start building websites, the navigation menu is usually created using a table, and either plain text links, or graphic buttons. From an SEO point of view, text links are far better, as the [...]
19. Menu Eye Candy
Here is the basic menu we created in the previous chapter: http://creatingfatcontent.com/csscourse/19/basicmenu.html #mainmenu { width: 250px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; text-transform: capitalize; border: thin dashed Silver; } #mainmenu ul { list-style: none; margin: 0px; } Let’s work on this to make it look nicer. Firstly, how about removing the underlines from [...]
20. Creating Horizontal Menus Using Lists
Here is the menu we created in the last chapter: http://creatingfatcontent.com/csscourse/20/basicmenu.html Here is the same menu, but as a horizontal one, instead of vertical: http://creatingfatcontent.com/csscourse/20/basicmenu2.html Let’s see how to create it. We will start off with the same HTML file as the original vertical menu, and just create a new style sheet. We [...]
21. Get Your Offer Seen with this CSS Technique
To show you what I mean, have a look at this page: http://creatingfatcontent.com/csscourse/21/pbtreview.htm Scroll down the page, and as you do so, watch the right hand “box” that contains my newsletter opt-in box. See how it scrolls up the screen with the content, and disappears off the top? Wouldn’t it be nice if, as [...]