Set the Background Image in the website using the command %

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

Previous topic - Next topic

Kalyan

Set the Background Image in the website using the command %


<html>
<head>
<style type="text/css">
body
{
background-image: url('smiley.gif');
background-repeat: no-repeat;
background-attachment:fixed;
background-position: 30% 20%;
}
</style>
</head>

<body>
<p><b>Note:</b> For this to work in Mozilla, the background-attachment property must be set to "fixed".</p>
</body>
</html>


hope, this works fine...let's others check it and get back for any doubts

ganeshbala


dhoni

we can use background image in command
it can easy to use this program with html