Site Map/Images


Site Map: Structure | Naming | Linking
Images: Copying | Colors | Buttons | Screen Shots


Site Map:

Mapping out a good folder structure is as important as deciding on a navigation system. A simple, clear folder/file structure allows the web master to find files again easily and it establishes the structure for the navigation system.

Basic Structure

  • A web site follows basic tree/folder structures.
  • If your site is very small, you may keep all files in one folder.
  • If your site is larger, you may want to create sub-folders for different sections of your site.
  • Some web designers keep all of the site's images in one folder. If you do this, make sure you have the proper relative link (see below).
  • If you don't keep an images folder (and it isn't really necessary if your site is small or has few images), just make sure the images are in the same folder with the corresponding html file.

Naming Files

  • Always use index.html as the filename for your home page in the main folder.
  • Always use index.html as the filename for any main page in a sub-folder.
  • Always use lowercase for filenames.
  • Always use short and descriptive filenames. Keep names as simple and clear as possible (it creates simple URLs that are easier to remember and follow).
  • Never use spaces or weird characters in file and anchor/bookmark names.
  • You can use a dash (-) or underscore (_) within file names, but use them sparingly.
  • Try not to arbitrarily change the name of your page, other web sites may link to your old file name.

Absolute and Relative Links

  • Always use absolute links (full url addresses) instead of relative links (partial url addresses) when linking to a web site that is not under your control or if you are having problems figuring out the relative link.

    Absolute: "http://www.gmu.edu"

  • When linking to pages in your own site, use relative links: rather than the entire url you can use only part of the url.

    Relative: "index.html"

  • When linking to a page in the same folder, just use the filename: "links.html"
  • When linking to a page or image in another folder within your site, make sure you get the proper structure:

    To link to a folder lower in your tree hierarchy, just add the proper folder: "images/button.jpg"

    To link to a folder higher in your tree hierarchy, add ../ before the proper folder: "../images/button.jpg"


Images

There are middle ground options between creating all your own images and stealing images from other pages.

Copying

In most cases, non-corporate designers won't mind if you take something as long as they get cited, but it is still proper protocol to email the request. You should always avoid taking images in general, but especially avoid taking them from corporate sites.

Fair use for educational purposes is accounted for under copyright laws. See Susan Campbell's Guidelines.

Colors

For html, you need the 6-digit color code or hex code. You can get this code by looking it up or converting the RGB code.

  • Lynda's site give you a list of the predominant hex codes.
If you have an image you want to pull colors from for your site's colors scheme, open the image in an image-manipulation program (photoshop, fireworks), select a color from the image with the (tear) dropper tool , and it should give you the RGB numbers.

  • RGB/HEX Converter let's you plug in the RGB numbers and get the hex code.
  • Visibone has a number of color palettes and resources also.

Buttons

It's not very hard to create your own buttons or to alter the buttons you download from other sites.

  • See the TEC image tutorial for creating buttons from scratch in Fireworks.
  • You can also take a button, tear drop the background color, cover over the previous word with a pencil , bucket , or brush tool, and then add over the new word with the text tool.
  • You can also alter the (background) color of buttons or bullets by adjusting the hue/saturation or color balance through and image-manipulation program.

Take bullets or buttons from any of my sites and start to play around with altering them.

Screen Shots

To grab screen shots in Windows,

  • hold down the Alt and Print Screen keys
  • open an image-editing application (photoshop, fireworks, etc)
  • start a new file
  • paste the image into the new file
Once in the image-editing application, you can save, manipulate (cut out the particular image on the screen that you want), or print.

I got these file folder images, for example, from doing screen shots:

You can also download some shareware programs to help facilitate the screen shot progess:

  • Capture is a freeware screen shot program for PCs
  • Tuttogratis has a links page to various free screen shot programs