Workshops
Design and Architecture: Exercises
Imagemaps
Use this file: imagemap.html
- Add a triangle shape in the upper-right region of the image and make it link to the Google home page.
Position
Use this file: position.html
- Uncomment
div#part0- Why does the div appear where it does? (you should see black background with blue text)
- Uncomment
div#part1- Why does the div appear where it does?
part1is positioned relative — relative to what? - Why does the div extend off the screen?
- Reside the browser window. Watch for where word wrap begins, and where a horizontal scrollbar appears. Be sure you understand why.
- Why does the div appear where it does?
- Uncomment
div#part2- Why does the div appear where it does?
- Reside the browser window. Watch for where word wrap begins, and where a horizontal scrollbar appears. Be sure you understand why.
- Comment out
div#part2 - Uncomment
div#part3- Why does the div appear where it does?
- Reside the browser window. Watch for where word wrap begins, how it behaves relative to the other content on the page, and where a horizontal scrollbar appears. Be sure you understand why.
- Comment out
div#part3 - Uncomment
div#part4- Why does the div appear where it does?
- Reside the browser window. Watch for where word wrap begins, how it behaves relative to the other content on the page, and where a horizontal scrollbar appears. Be sure you understand why.
- Comment out
div#part4 - Uncomment
div#part5- Why does the div appear where it does?
- Reside the browser window. Watch for where word wrap begins, how it behaves relative to the other content on the page, and where a horizontal scrollbar appears. Be sure you understand why.
- Uncomment all parts and see what you get.
- Change as many parameters as you wish. In particular, try
- change pixels to percentages
- negative values
- view in Internet Explorer as well as Firefox
Layers
Use this file: layers.html
- Resize the browser window so you can see what happens to the different layers.
- Change the z-index on div1 to 5, then set it back to 1
- Change the z-Index on div3 to 5. What's the difference?
