Sponsored Ad

Wednesday, May 19, 2010

Set Image Properties in a webpage

Set Image Properties in a webpage

 

Sometimes while designing webpage, placing a image and setting their properties are touph task. This example helps you to arrange a image on webpage using background-image property. with some other image arrangement properties. Let me know if you face any problem while arranging a image.

Source code of Set Image Properties in a webpage

<html>

<head>

<style type="text/css">

body{ background-image: url('Sunset.jpg'); background-repeat: no-repeat; background-position: center; }

</style>

</head>

<body>

</body>

</html>

0 comments:

Post a Comment

Sponsored Ad

More Related Articles

Website Update

Followers