|
Lesson 20Gradcolor pairs in the same column
Just as we used gradcell pairs in the same row, we can use two cells together in the same column to build shapes.
Shortcuts and cautions
Example shapesNow let's see some shapes using gradcell pairs in the same column.
"Bar", gray & blue
"Tube"
"Cylinder"
"Disc"
Illusion of IlluminationWhere the 2 gradcells meet in the middle, the gradcolor doubles up, making it brighter. This gives us the illusion of having a light source. If we change the height of the 2 halves the brightness will be offset from the middle and it will appear that the light comes from a different direction.
High light source
Top height="30", bottom height="60" Low light source Top height="60", bottom height="30" Combining shapesIt is easy to combine basic shapes together to make objects.I have a "dumbbell" below. It uses "cylinders" on the two ends and a "bar" in the middle. You could make this using rowspan to make up for the difference in height between the sections, but it is easier to make a separate table for each section, then combine them in a nested table. Nesting your sections in a table also allows you to use cellspacing in the outer table to separate the sections and give them more definition.
Cellspacing=0
Cellspacing=1
Homework Assignment
In Lesson 21, we'll make a "doodad" Table Course Table Gallery Key Concepts and Table Tips Understanding Gradangles WebTV Viewer Table Gallery HTML Cookbook Html.Help.Gnubee Html Help Gnubee Chat |