Cascading Style Sheets Basics (continued) Defining a Separate CSS File
Referring to the CSS File The trick to referring to an external CSS is this line: <LINK REL=STYLESHEET TYPE="text/css" HREF="yourcssfile.css"> The <LINK> tag provides a connection between the document being displayed and the external file. You can put a complete URL in the quotes following the HREF attribute this example assumes the file is in the same directory as the document that refers to it. Defining a Style Class Here's a trick that makes it easy to apply a style to any passage of HTML code you like. Define a CSS that looks like this: <style type="text/css"> Put them to use by applying them in an HTML document. Here is an example: <html> This Cascading Style Sheets tutorial was inspired and assisted by David Wall. |
|||
|
|
|||
|
HTML Utopia:
Designing Without Tables Using CSS chapters free! 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.
Why haven't you downloaded the newer versions?
They're free you know. 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.