News:

MyKidsDiary.in :: Capture your kids magical moment and create your Online Private Diary for your kids

Main Menu

Easy way to insert the background image using CSS

Started by Kalyan, May 24, 2009, 11:50 PM

Previous topic - Next topic

Kalyan

Easy way to insert the background image using CSS


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

<body>
<h1>Hello World!</h1>
<p>This text is not easy to read on this background image.</p>
</body>

</html>



let's check the o/p and if you have any doubt feel free to ask