Dreamweaver Templates

inserting a live date in your dreamweaver document

Learn how to easily place a live date in your Dreamweaver document using Javascript code.

  1. Open your Dreamweaver document and switch to code view and place the following CSS Style and Javascript code in between the <head> </head> tags at the top of your document:

  2. Switch back to Design view and place your cursor over the location where you wish to insert your live date.

  3. Again select 'Code View'. With cursor at the position, copy and paste the following final code:

  4. You can align the date left, right or center by replacing the code '<div align="right" (code view).

  5. You can change the color of the font, typeface or size by adjusting the CSS at the top of your document (code view):

    <style type="text/css">
    .date { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #06297B}

Home | Terms of Use | Private Policy | Refund Policy
Copyright 2002 - 2010 Dreamweaver-Templates.net - Dreamweaver © is a registered trademark of Adobe Systems Incorporated.