Isn't the Internet wonderful? I can post an obscure, technical question on a Saturday and get not one but two well thought out answers.
Thank you both Christopher and G.D. On Sat, Dec 19, 2009 at 1:42 PM, G. D. Speer <[email protected]> wrote: > The difference is subtle - background color might be the technically more > accurate call if the intention is to leave a previously set image backgroud > in place. Using the summary notation background suggests that a prior set > image URL should be cancelled and ONLY a color fill be used as background. > > In theory with this notation, browsers should reset the other background > attributes like position and image url to browser defaults (url-blank and > 0,0) due to using shorthand notation which implies that all necessary > settings are included in the phrase and should overwrite all existing prior > settings. > > As a practical matter, designers tend to apply their 'overrides' after the > blueprint CSS has been loaded so there is no effective impact in terms of > overwriting an image URL. The point of setting a color without an overlying > image is to assure that you have a solid color fill, so the summary > 'background' syntax is the more proper way to solely set a color / remove > any previously set background image. > > Good eye. > > > ----- Original Message ----- > *From:* Phillip Senn <[email protected]> > *To:* Blueprint CSS <[email protected]> > *Sent:* Saturday, December 19, 2009 11:18 AM > *Subject:* [BP #3683] Background vs Background color > > In screen.css, the "box" class uses background:#E5ECF9. > Why wouldn't it use background-color: #E5ECF9 instead? > > Is background the preferred way to set the background color, or > background-color? > > -- > You received this message because you are subscribed to the Google Groups > "Blueprint CSS" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<blueprintcss%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/blueprintcss?hl=en. > > ------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.427 / Virus Database: 270.14.114/2575 - Release Date: 12/19/09 > 08:33:00 > > -- > You received this message because you are subscribed to the Google Groups > "Blueprint CSS" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<blueprintcss%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/blueprintcss?hl=en. > -- You received this message because you are subscribed to the Google Groups "Blueprint CSS" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/blueprintcss?hl=en.
