To learn Illustrator layout techniques by example. To review basic XHTML and CSS skills by building a personal process page.
Illustrator can also be used by web designers as a layout tool to create "mock-ups" of web pages for client approval. Once approved, Illustrator has the same tools as Photoshop to help you optimize the pixel elements for web development.
Once the pixel elements have been exported, we can then use Dreamweaver to write the HTML and CSS code for web publishing.
The best way to learn HTML and CSS is with Dreamweaver's code view. By observing how Dreamweaver writes code for you behind the scenes one can learn coding by example.
Tip: Do not delete any links that you add to your Process Page. Instead, always add new links when making revisions.
Overview: Create a web page layout in Illustrator. Export the pixel elements to Photoshop. Slice the Photoshop file and optimize the pixel elements. Import pixel elements into Dreamweaver. Add text and style with CSS. Publish to server. Note: replace bold with personalized info.
Making the Illustrator mock-up
- download starter files (move files to proper location)
- launch Illustrator
- file > new: profile=web, size=1024x768
- save as "process.ai" (location="assets")
- file > place "blank_browser_ie7.png"
- rename "layer 1" as "browser"; lock layer
- new layer "bars"; restack layers
- rectangle tool: draw rectangles, fill with color
- new layer "type"
- type tool: "Jane Smith Graphic Design II", add color
- personalize your process page by designing a unique treatment for your name
Slicing in Illustrator
- new layer "guides"
- view > ruler (cmd+R): draw guides for slicing
- new layer "slices"
- slice tool: slice select art
- hide "browser" layer
- file > export > save for web (preset=JPEG high or GIF no dither; user slices; images only, location="html")
- inspect files in finder; rename
Setting up the content in Deamweaver
- launch Dreamweaver
- site > new site "gds122"
(define local root folder: location=faa999/gds122/html)
- window > files: RMB local root folder > new file "index.html"; open file
- view > code and design
- insert > image "logo.gif"; deselect (arrow right)
- insert > div: id="content"
- copy and paste text from "gds122.txt" into <div#content>
- format text: add <ul>
- change "jane smith" to your name (all occurrences)
- delete asterisk ( * )
- replace automatic date stamp: insert > html > date
- browse to the sample process page: copy and paste links into
- appropriate text (RMB > copy link to clipboard)
- link to sample images (use target=_blank)
- select "back to top", add link "#"
- link your preferred email address (i.e. mailto:email@example.com)
- window > CSS designer: add selectors (source=define in page):
• #content: layout: width=70%, position=absolute, top=??, left=??
• #content: text: font-family=Verdana, font-size=12px, line-height=20px
• body: layout: margins=0 (all); bg: URL="images/tile.gif" (repeat-x)
• a: text: color=??, decoration=none
• a:hover: text: decoration=underline
• .small: text: font-size=10px, line-height=14px
- select <p>: apply style ".small"
- note CSS code formatting in header
- file > preview in browser (opt+F12 and cmd+F12)
Finishing the HTML file
- change title to something like "Jane Smith | GDS 122"
- add alt tags
- commands > clean up HTML
- publish page (see separate lesson)
- link your published projects and assignments to this page