Results 1 to 4 of 4

Thread: CSS problem

  1. #1
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default CSS problem

    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.

    Code:
    #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

  2. #2
    Join Date
    Jul 2005
    Location
    North Wales
    Posts
    4,233
    Tokens
    2,009

    Latest Awards:

    Default

    Would somthing like this work?

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

  3. #3
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Thanks, Ive just done something like that +rep

  4. #4
    Join Date
    Dec 2006
    Posts
    521
    Tokens
    0

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •