PDA

View Full Version : CSS problem



Luckyrare
21-04-2007, 09:46 PM
I am wanting the background to be grey (#665B55) but I am also wanting a row of "grade.png" along the top, how can I do this? I tried (below) but it only shows the image top with no grey.



#grey_main {

width: 730px;

background:#665B55;
background:url(grade.png);
background-repeat:repeat-x;

border-left: 1px solid black;
border-right: 1px solid black;

}


Thanks in advance
Danny

redtom
21-04-2007, 10:05 PM
Would somthing like this work?


body {
background: #665B55;
}

#grade_bar {
height: px;
width: 100%;
background-image: url(images/grade.png);
}

Luckyrare
21-04-2007, 10:11 PM
Thanks, Ive just done something like that +rep

Sygon..
21-04-2007, 11:07 PM
background: #665B55 url(grade.png) repeat-x;

Want to hide these adverts? Register an account for free!