I really like the book as intermediate step before more advanced
stuff, like as a precursor to the book CSS Mastery.

But had a question on why the author did something...
On page 236, of Chapter 9,
he is using a background image on an #header element, a gradient that
fades from a top color to a bottom color, then use a background color
on the element so the gradient fades into the bottom gradient color
cleanly).

I was wondering why would there be a reason to leave alot of empty
transparent space at the bottom of the .gif image, he says he does it
so the "green is knocked out for transparency", but if there was no
transparent area at all on the gif, the heading would just let the
background-color bleed-through anyway, so it is not needed?

Also a second related question, the spiral pic on pg 237, why did he
draw part of that same gradient in it? The spiral background on
#heading h1 will overlap over the gradient background on #heading
anyway, so as long as it is a transparent gif, it will bleed the
gradient behind it through.

The code can be download here in Chapter9 folder in the zip, although
i should point out that in IE6 (at least on my machine), the layout
seems to be broken :(.
http://www.simplebits.com/publications/bulletproof/code/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to