To set an Background Image and repeat the image Horizontally by using CSS

Monday, August 30th, 2010 Style Sheet Designs

<html>
<head>
<style type=”text/css”>
body
{
background-image:urlC:\Users\systemuser\Pictures\flower.jpg’);
background-repeat:repeat-x;
}
</style>
</head>
<body>
<h1>Hai Friends!!</h1>
</body>
</html>

Output:

The image in the given URL will be set as the Background  with the Text “Hai Friends!!”.

No comments yet.

Leave a comment

Search

 

Blogroll

  • Copywriting blog Searchenginegenie’s official copywriting blog
  • Linkbuilding blog Searchenginegenie’s official link building blog – tips and tricks
  • PPC Blog Searchenginegenie’s official PPC blog – Pay per clicks
  • Programming Blog Searchenginegenie’s official programming blog
  • SEO Blog Searchenginegenie’s official SEO blog
  • SEO News Searchenginegenie’s official news on internet and SEO
  • Web Design blog Searchenginegenie’s official web designing blog
  • What's Hot @ SEG Most recent whacky happenings @ SEG