BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
CSS
CSS <background-color> Property
CSS <background-attachment> Property
Displaying XML with XSLT and CSS
Formatting XML with CSS (a.k.a my favorite jokes)
<< BizTalk
 

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :961

 

The background-image property (CSS Reference)

Introduction

The background-image property can be used to place an image into the background of a HTML element. You can use either use the URL of the image, the path on your system or none if you do not want to display an image.

Example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head><title>background-image Demonstration</title>

<style type="text/css">

body { background-color:#FFFFFF;}

.red { background-color:#FF0000;}

.blue { background-color:#0000FF;}

.skyblue { background-color:#87CEEB;}

.headerimg

{

            background-image: url(yellow_black.jpg);

}

</style>

</head>

<body>

<h1 class="headerimg">Can you See the image</h1>

<p class="red">This is some text with a red background.</p>

<p class="blue">This is some text with a blue text.</p>

<p class="skyblue">This is some text with a skyblue text.</p>

</body></html>

Output

Values

Name:

Description:

URL

Here you can specify the URL/Path of the image. It can be a local path or an URL from another Website. The other value is none which obviously indicates that no image is used.

url(“Path”)

none


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

Integration Specialist Needed - Wor
Virtualization Server Infrastructur
A great opportunity to Digital Vide
here is a greate opportunity as a S
A great opportunity as a Network En

View all Jobs (Add yours)
View all CV (Add yours)




Chicago Web Site Design
spfxmasks
conference calling
Versace sunglasses
air freshener
odor remover


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP