|
Web training for MIT Libraries staff Hands-on training:
See also: Web guidelines overview
|
|
Always FTP the latest live version of the page you're working on from the server when you want to edit it, instead of assuming the version you have on your HD is the latest one. Someone other than you (eg Nicole) may have had to make an edit - possibly a site-wide one - that has had an effect on your page.
Use "save" if you have edited a page and want to save your edits
Use "save-as" if you want to create a new page based on the style of the old page.
To create a brand-new page:
from a template |
Place the template in your templates folder, and follow these instructions (save) |
by copying a similar page |
follow these instructions (save-as) |
Note: Now that we're moving to CSS-based pages, this tip is less useful. In most cases, define fonts by using CSS instead of the Properties menu.

To maintain our standard style in a non-CSS page, find and choose the correct font group ("Verdana, Arial", etc) and size (usually "-1") in the "Properties" menu (pictured above).
You can also change other font properties using the same menu. But remember: Red is not an appropriate color for the MIT Libraries site, since it clashes with our color scheme. Use dark orange (#CC6600) for accentuation, or place your note in a table, with
| CellPad=5, CellSpace=0 , Bg color= pale yellow (#FFFFCC) and Border=1 |
CSS Styles can be applied and edited using the Properties Menu. This includes the option of creating or choosing a style which functions like the yellow table described above:
yellow box
Some directories are so deep that listing every page on every sidebar becomes awkward. In this case, we list the broader categories on each sidebar, and open up into greater detail while in the more specific category, either in the sidebar or in links at the top of the page.
Examples: see solutions used by Architecture, Music, and Political Science Publications
Pages should have a "last updated" statement, so that
For example:
An ideal place for the owner and date is near the bottom of the page in small print.
To set up a server-side-include that will display this information automatically, insert the following code in your HTML:
<!--#config timefmt="%D" --> This page was last updated on <!--#echo var="LAST_MODIFIED" -->
More on server-side-includes (SSIs).
SSI instructions page

Choose "Code" in the upper left corner of your Dreamweaver screen. Alternately, choose "Split", so that you can see both the code and the "WYSIWYG" design, and watch your code edits take effect.
See the Dreamweaver Knowledge Base article posted by Laurie Casolino
Cascading Style Sheets is a way of controlling the design component of web pages separately from the actual content. It actually makes things easier for you by placing certain tasks - e.g., choosing and attaching a font for a paragraph - under the control of a separate file that you rarely need to edit.
In Dreamweaver:
Format refers to hierarchical styles (like
Headings) that relate to the outline of a page.
-
Keep the hierarchy
clear! Don't use "heading 3" because you think it looks better,
when the outline level is really "heading 4." And don't simply
use "bold" when
you're actually creating a new outline level.
Styles refers to local styles that can be applied where needed. Our new CSS templates use styles like "highlight" and "mitonly", which you can choose by clicking on the Styles box, and apply to paragraphs, headings, table cells, or whatever you like, with varying results -- experiment to see what looks best for your purpose.
Why do some of our styles' names start with Z?
Choose the little + in the lower right corner of the window to add a style.
Choose the little pencil to edit a style. Choose the trash can to delete the style.
Any CSS edits you make will cause the linked CSS file to open, and you'll have to save that independantly of your content file.
NOTE: Do not try to edit styles in the style sheets linked to our Dreamweaver guides templates. These are locked into the templates, and any edits you make will be gone when you upload your page to the server.
Choose the little + in the lower right corner of the window to add a style.
The new style you define, using the windows that open, will appear in the Styles pull-down menu in your Properties window, and also in the CSS Styles window.
The code for the style will appear in the document head, in the Code view in Dreamweaver - eg:
| Silly style : | <style type="text/css"> </head> |
See SSI instructions page. Or see the Web Guidelines page on SSIs.
Think in terms of an outline:
Page last modified February 29, 2008