The CSS file

Next, we need to make a quick addition to the CSS fileā€”the frobnitz.css file mentioned in the last section. This will provide a very simple style for the tool we are going to add. Here is what it looks like:

#printer-button { float: right; font-weight: bold; padding-right: 20px;

This CSS simply adds a definition for some element with the ID of printer-button. We will see that element a little later in this chapter. The styles here will float that element to the right side of the screen, add a little padding, and make the font bold.

0 0

Post a comment