Alt-web

 

 

More on this site

Alt-Web Home Page

Chalk Board Intro

CSS  Styled Background Images

Image Borders on Mouse Over

Iframes

Print Page Buttons

Close Window Buttons

Scrollable Divisions

CSS  Flyout Menus

Vertical & Horizontal Centering

Centered on  Two-toned Background Image

Liquid Layouts

Images and Text

Layout Regions

Printer Friendly Pages

Web Color Assist Tool

Hex  Color Chart

Favicons

Fast Contact Forms

 

 

 

banner

 

Custom CSS Link Styles
in NetObjects Fusion (8, 9 or 10)

Description:

When you need a second set of link styles in your site, this tutorial gives you basic code which you can copy & paste into the head of your MasterBorder (in-line style) or sitewide CSS (external stylesheet).  Feel free to edit styles to suit your needs.

Example:   newlink item 1newlink item 2newlink item 3

In-Line Tutorial (NOF 8, 9, 10)

  1. In Page Design View, Tools > Options > Current site > General Tab: Select Dynamic Page Layout -all browsers, Cascading Style Sheets (CSS) and change Curly Quotes to Straight Quotes.

C-fig3

  1. Highlight and copy this code for a newlink class:

<style type="text/css">

.newlink:link{/*unvisited*/
color:#990000;
text-decoration:none}

.newlink:visited{/*visited*/
color:#9999FF;
text-decoration:none}

.newlink:hover{/*mouseover*/
color:#990000;
background:none;
text-decoration:underline}

.newlink:active{/*selected*/
color:#FFCC00;
text-decoration:none}

.newlink:focus{/*optional, same as hover, but with tab key*/
color:#990000;
background:none;
text-decoration:underline}

</style>
 

  1. Click somewhere inside your MasterBorder or Page Layout area.  On the properties box (F3), hit the HTML... button.

MasterBorder_html_button

  1. This will invoke an HTML insertion window.
  2. Select the Between Head Tags tab and paste your newlink code into the HTML insertion pane:

PasteCode

  1. Edit hex #colors and other style definitions as required.. Use this handy Hex #color chart to help with color selection. When you are done, click OK.

Applying newlink class to your text (NOF 8, 9, 10)

  1. Type some text on your page, highlight text and click the LINK button.
  2. On Link Properties Box, hit the HTML button and click on the Inside Link tab.
  3. Paste this bit of code into the link HTML insertion box and hit OK.

class="newlink"

newlink_class

  1. Repeat steps 7 - 9 for other newlinks.
  2. Save site (Ctrl+S).  NOTE: This style is not visible in Design View. You must perform a Local or Remote Publish to see your newlink style.

Pasting Code into External Stylesheet (NOF 10)

  1. Copy the newlink code WITHOUT these beginning and closing tags:

<style type="text/css">
</style>

  1. On the Tools Menu, go to Style View

StyleView

  1. Click the CSS Code tab and scroll down to the bottom of your stylesheet. Click inside the stylesheet and paste  newlink code. Save site ( Ctrl+S).

PasteCSS

NOTE:  This link order MUST be followed to work.

  • Link,
  • Visited,
  • Hover,
  • Active
  • (optional) Focus

The memory device for keeping correct link order is LiVHA.  For more on pseudo-classes and link styles, visit the w3schools.com

We hope you enjoyed this tutorial on custom CSS link styles.


 

Reach the World with Alt-Web

If you use the free content on this site, please provide a link from your site to ours. Or visit our Free Reciprocal Link Exchange Page. Thank you.

 
© 1995 - 2008 Alt-Web Design and Publishing
Nancy O'Shea