# CSS background properties & validator

**URL:** <https://forum.kirupa.com/t/css-background-properties-validator/130034>\
**Category:** Uncategorized\
**Created:** [November 30, 2004, 11:22pm UTC](https://forum.kirupa.com/t/css-background-properties-validator/130034 "2004-11-30T23:22:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GOLGO\_13](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@GOLGO\_13](https://forum.kirupa.com/u/GOLGO_13)\
**Post date:** [November 30, 2004, 11:22pm UTC](https://forum.kirupa.com/t/css-background-properties-validator/130034/1 "2004-11-30T23:22:31Z")

</div>

so, i ran my CSS through a validator, and for the first time i’m ONLY getting 2 warnings!! 🍺 anyhow, i’m not exactly sure how to fix 'em:

> **background-color: #CCCCCC**  
> [color=red][size=4]Warning:[/size] The shorthand background property is more widely supported than background-color.[/color]

not sure what to do about this one…

> 

**html,body {**  
**background-image: url(bkg.gif);**  
**background-color: none;**  
**margin-left:0px;**  
**margin-right:0px;**  
**margin-top:0px;**  
**margin-bottom:0px;**  
**padding:0;**  
**min-width:800px;**  
**}**

[color=red][size=4]Warning:[/size] To help avoid conflicts with user style sheets, background and color properties should be specified together.[/color]

dont know how to combine them?

any suggestions?
