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

 

Highlighted Image Borders without DHTML in NetObjects Fusion

borders

Description:

Look Ma, no JavaScripts! Using CSS pseudo class definitions for the <img> tag is all you need to make highlighted borders on all your linked images.

Example: Firefox Internet Explorer Mozilla SeaMonkey Opera Safari for Mac

Unfortunately, NOF's CSS Editor does not accept the syntax for <a img>.  So here is an alternate approach to adding CSS definitions to your web pages.  Don't worry, this won't hurt a bit.

Tutorial:

  1. In your MasterBorders properties box, click the HTML button.

MasterBorder Properties Box

  1. Copy code from this box:
  2. <style type="text/css">
    a img {border: 2px solid #FFFFFF;}/* This is image border; set to page background color; white */
    a:hover img {border: 2px solid #EFAB08;}/*this is the highlight color; gold */
    a:focus img {border: 2px solid #EFAB08;}
    </style>

  3. Paste code in the <Between Head Tags> tab as shown and hit OK.

Page html insertion box

  1. Adjust the Hex #colors to match your site's color scheme.  Here's a handy Hexadecimal Color Chart to help you with your color choices.
  2. IMPORTANT: If you have applied HTML Borders to your images via the Picture Properties Box, you must remove them.  HTML image borders will cancel out CSS image borders.

picture properties box - no borders

 By the way, these image borders work on image shapes too. Just set the line width to 0.

That's all there is to it. We hope you found this tutorial useful and fun.

 


 

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