XHTML / CSS Tutorial - Background Images

 To put an image in the background of your webpage you need to include the background-image attribute to your body CSS code. It would look like this: background-image: img:url(source);

Now by default the image will repeat, you can change this attribute by including the CSS attribute background-repeat and indicting no-repeat.

Other changes to the background image attributes can be repeat-x which would repeat the background image along the x-axis. or y-axis, or position.

https://www.youtube.com/watch?v=jWn1nWIFbV0&index=20&list=PLC1322B5A0180C946

Comments

Popular posts from this blog

Conversations Ongoing: Valuing Modernization in Early European History

Python 3.4 - Numbers