Cascading Style Sheets Basics
CSS, or Cascading Style Sheets, is a newer technology that gives site builders enhanced control over the look of elements on a web page. Objects once considered unchangeable, such as the underline beneath links, the color of form elements, the spacing between text, and more, can now all be altered, thanks to CSS. Before proceeding with this tutorial, it is recommended you have a firm understanding of HTML tags, elements, and properties.
Style sheets allow you to adjust the traits that define how text, tagged with a given HTML element, is displayed. Say, for example, you wanted your normal paragraphs those defined by the <P> tag to be rendered in a bold, navy, 12-point Arial or Helvetica font. Here's how the Cascading Style Sheet (CSS) definition for that would look:
Incorporating the CSS Into Your HTML Document
The <STYLE> element, as defined by the <STYLE> and </STYLE> tags, allows you to incorporate CSS style-specification information into an HTML document. This element goes in the <HEAD> section of your document and here is what it looks like:
Specifying Multiple Styles at Once
You can use a CSS to define the characteristics associated with multiple tags at once. Nothing to it, really. Just list the tags to be defined, separated by commas, at the beginning of the definition block. Notice the H1 and H2 definitions.
Here is what it looks like.
except in Netscape, where everything is green. Why?
Continue With External CSS Files
Read more info
The Internet Brothers have implemented hierarchical menus for navigation. Easier done than said. In our effort to be friendly to all browsers, the menu tree is functional with version 4 or greater of both the Netscape and Internet Explorer products.
As stated above, hovering over the button will open the menu for these browsers. But if you have an older product, don't fret, we'll send you to the scum page. Just click the button.
The hierarchical menus were created using Peter Belesis' © Dynomat DHTML scripting tool from Webreference. Give them a visit, you'll like what you learn.
Copyright © 1997-2004 Internet Brothers. All Rights Reserved. Really.