Background image color not working

Should be an easy one…but evidently am doing something wrong.

background:#698C5F url(imgs/left.png)repeat-y top left, #698C5F url(imgs/right.png)repeat-y top right;

Could someone please tell me what it is?
thx
D

Hi, Daniella.

The background-color needs to be applied separately and it must follow the background: property in the cascade.

div {
    width:600px;
    height:600px;
    background:url(http://placehold.it/250x200)repeat-y top left, url(http://placehold.it/250x200)repeat-y top right;
    background-color:#698C5F;
    margin:0 center;
}

Cheers

Ronpat! Hi, long time since we chatted, hope all is good & wishing you a great thanksgiving.
Thank you for the advice will go try it out.

Thanks, Daniella. Happy Thanksgiving to you, too.
… and I hope that your furry family is doing well.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.