Sponsored Ad

Tuesday, May 11, 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:

<html>

<head>

<style type="text/css">

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

</style>

</head>

<body>

</body>

</html>

No comments:

Post a Comment

Sponsored Ad

Development Updates