Presentation is loading. Please wait.

Presentation is loading. Please wait.

CM143Web Week 8 Review of Assignment 1 Revision & Elaboration.

Similar presentations


Presentation on theme: "CM143Web Week 8 Review of Assignment 1 Revision & Elaboration."— Presentation transcript:

1 CM143Web Week 8 Review of Assignment 1 Revision & Elaboration

2 Assignment 1 Review Quality of submissions excellent Some issues for review: – Problems uploading – Use of container divs – Linked external css file – Problems with directory structure

3 Uploading the site A site created on a local machine can be transferred to the web server by File Transfer Protocol (FTP), or an encrypted version (sFTP). The completed site can be uploaded by FTP in Dreamweaver. The process does not require other transfer software (WSFTP) Uploading a site requires login details for the destination web server – FTP Host, folder, username, password

4 Dreamweaver FTP Upload Details FTP Host – This is the url of the server you are uploading the site to – For DCU: student.dcu.ie Folder – Specification of the folder on the server space allocated to you that the site files will be copied to – For DCU: public_html Username & Password – For DCU: Your Novell login details

5 Use of Container Using a container div for the site allows you to set a maximum width for the site and to centre it at that width – This ensures that on large screen resolutions, the site does not expand horizontally to fill available space and reduce legibility Nesting the structural divs inside a container of fixed width allows for fewer width and position settings in CSS

6 Step-by-step Centred Container Redefine the body tag – Centre everything on the page so that the container will appear centred in large resolutions – Optionally, set margins to avoid differences in margin defaults between browsers Create a class for the container and apply – Set a width (~800px recommended) – Set margins to auto to allow for centring in Firefox – Optionally set borders, background, etc

7 External CSS Files Defining Styles in “This Document Only” in Dreamweaver causes the style settings to be added to the head of the html document – This is useful for single-page sites but problematic beyond this because changes in a style have to be made for every page if required For a site where the same definitions apply to numerous pages, the styles should be defined in a central CSS file The.css file can be specified when styles are first defined and linked to multiple pages

8 Directory Structure A site should be contained within a single folder (to be defined in Dreamweaver’s define site settings on the local machine) This entire folder will be copied to the server – It should not contain extraneous files (planning documents, photoshop PSDs, etc) The folder can be structured with subfolders for images, css, etc The homepage must be called index – Index.htm, index.html, index.php, etc etc


Download ppt "CM143Web Week 8 Review of Assignment 1 Revision & Elaboration."

Similar presentations


Ads by Google