Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to use image in background with color ?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 181
    Comment on it

    Hi Guys,

    Here i am posting that how you can use image with color in background.

    <div>
    block {
        background: #1e7f00 url("http://api.ning.com/files/rBZCY6X2uOlTJ8P9qLiTaHrX71x-bhRd9qAkTQBwNkSJPHtbC0Md09jy7l2JFbAGIWeexn8YrPUqqxKklZ5yJFL1uCaRvYYI/smiling.monkey.jpg") no-repeat fixed left top;
        color: white;
        font: 80%/1.5 arial,helvetica,sans-serif; 
    }
    
    .container {
        width:500px;
        margin:0 auto;
    }
    </div>
    

    Click on link for live preview

    http://107.20.120.5/HTML/fn/image.html

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: