I.T. Discussion Community!
-Collapse +Expand
Search Design Group:

-Collapse +Expand Design Store

Prestwood eMagazine

April Edition
Subscribe now! It's Free!
Enter your email:

   ► KBDesign Knowledge Base  Print This    Code Snippet DB All Groups  

Design Code Snippets Page

These Code Snippets are contributed by you (our online community members). They are organized by our knowledge base topics. Specifically, by the Design sub-topics.

Contribute a Code Snippet
Expand All

2 Website Design & Hosting Code Snippets

Group: Website Design & Hosting

Topic: Cascading Style Sheets (CSS)

-Collapse +Expand 1. CSS Import URL
The following code snippet allows you to import a cascading style sheet (CSS) into another CSS file. The main benefit is this allows you to organize your styles and to create common CSS files.

@import url('/style_core.css');

Posted By Mike Prestwood, Post #100662, KB Topic: Cascading Style Sheets (CSS)

Topic: Website Design

-Collapse +Expand 2. SHORTCUT ICON

Get rid of the boring default icon on your website.  Add a custom icon!  Most browsers support .ico and the most popular ones will show any standard web image. 

Follow this easy step by step to add one to your web page or site.

Example: This is Prestwood.com's icon. 

Images must be 16x16 pixels.  I use GIMP to create mine.

Normally, save as a .ico file in the root of your site or in any unsecured folder.  I usually put them in "/images", and I usually name it favicon.ico or favicon.gif.

Add this to the header section of your AJAX Master page or any aspx/htm/html/shtml page.

<link REL="SHORTCUT ICON" HREF="/images/favicon.gif">

Some browsers even support ANIMATED gifs.

Posted By Bryan Valencia, Post #101871, KB Topic: Website Design

Follow PrestwoodBoards on: 

©1995-2021 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech