Friday 31 May 2013

0

In CSS How To Repeat a Background Image Only Vertically and Horizontally

  • Friday 31 May 2013
  • able
  • Share

  • How to repeat a background image only vertically
    <html>
    <head>

    <style type="text/css">
    body
    {
    background-image:
    url('bgdesert.jpg');
    background-repeat: repeat-y
    }
    </style>

    </head>

    <body>
    </body>
    </html>

     How to repeat a background image only horizontally

    <html>
    <head>

    <style type="text/css">
    body
    {
    background-image:
    url('bgdesert.jpg');
    background-repeat: repeat-x
    }
    </style>

    </head>

    <body>
    </body>
    </html>

    0 Responses to “In CSS How To Repeat a Background Image Only Vertically and Horizontally”

    Post a Comment

    Download

    Subscribe