Like I said, I've been working with the original code, that I did not come up with. I'm trying to bend it to my will and that of the client's.
Thank you for your help. I'm going to play with it as soon as i get all the pages for the products up today. Theresa Jennings On Feb 27, 2012, at 3:01 AM, Ghodmode wrote: > The short answer: > Change your selector for the #box (about line 285 in main.css) > from: > > #box > > to: > > div#wrapper #box > > > Explanation: > It looks like you're having a weird specificity problem and you might have > even > stumbled into a bug in Webkit that I haven't seen before. > > In your main stylesheet, the #box is set with a top margin of 8px. > > In your ddsmoothmenu stylesheet the '*' selector is set with margin 0. > > There's no way that the general asterisk selector should override the more > specific #box selector, but chrome's developer tools show that is exactly > what's > happening. > > The even more specific selector "div#wrapper #box" seems to correct the > problem, > but this shouldn't be necessary at all. > > This is an interesting problem. I'm going to need to experiment with it and > see > if I can reproduce the problem on a simple page. > > Ref: http://www.w3.org/TR/CSS2/cascade.html#cascading-order > > I'm curious... Why are you creating your 1px space like that? I see the -7px > bottom margin on the bottom of your navigation ul and the 8px top margin on > div#box leaves the 1px you wanted, but why not just use a 1px margin on either > the nav ul or the #box? > > Thank you. > > -- > Vince Aggrippino > Ghodmode Development > http://www.ghodmode.com > >> Theresa Jennings > ______________________________________________________________________ > css-discuss [css-d@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/