OOps: Sorry, neglectful post. Context: chapter 5 of book, site:
www.ericmeyeroncss.com. Describing html: transition between ch0504.html and
ch0505.html. Situation: programmer is presented with a web page in which a
web page describes a navigation td at left and a body td at right. The
navigation td consists of a series of h4s separating a series of a's
pointing to the appropriate pages elsewhere on the site. The programmer
decides to add a *separate* style section, not part of the original style
sheet, to describe the navigation td, hence, *before* the update I don't
understand:


<style type="text/css">
/* menu styles */
td#sidelinks a { display: block;
   margin: 0; padding: 1px;
   text-decoration: none;
   font: bold 100% Arial, Verdana, sans-serif;
   border-right: 1px solid rgb(30%,20%,20%); }
td#sidelinks h4 { background-color: transparent; color: rgb(30%,20%,10%);
   margin: 0; padding: 1em 0 0;
   font: bold 100% Arial, Verdana, sans-serif; }
</style>

Next step is to change td#sidelinks a padding to "1px 10px 1px 5px;" As a
result, *both* the hr's and the a's get padded. I don't understand how the
padding gets applied to the hr's.
-- 
--albo
______________________________________________________________________
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