|
Lesson 18Gradcolor pairs in the same row
We've already worked with individual gradcolor cells. Now we'll place 2 gradcells together in the same row to make some shapes. Shapes like these can be combined to make intricate designs or gradcolor table art.
Shortcuts and cautions
Example shapesHere are some shapes that you can make with gradcell pairs in the same row by just changing the height and width.
"Column"
Illusion of Illuminationheight="150" width="20" each half total width="40" "Cylinder" height="90" width="40" each half total width="80" "Disc" height="20" width="75" each half total width="150" "Bar" height="6" width="180" each half total width="360" Now here's an interesting effect. Where the 2 "halves" 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 widths of the 2 halves the brightness will be offset from the center & it will appear that the light comes from a different direction.
Combining shapesIt is easy to combine basic shapes together to make objects.I have a "spool" below. It uses "discs" on the top and bottom and a "cylinder" in the middle. You could make this using colspan to make up for the difference in width 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
|