Padding Padding
Janet
Systems
 Register  Login 
Telephone  01628 566 178
Website Design, Hosting and Software Services
  Search 
Padding
corner Padding corner
Padding Padding
corner Padding corner

NAT August 2005 (Revsied)

 CSS Articles Minimize

Using CSS we can set a background image for many of the HTML objects, for example <TD>, <TABLE> or <DIV>.

Within the style definition this is referenced as:

{
    background-image : sLocation
}

Within the object itself we reference it as follows:

<DIV style="background-image : sLocation;">

Don't forget to include the semi-colon between each item defined.

where sLocation is

url('imageURL')

It is referenced by scripting as:
object.style.backgroundImage  = sLocation


This article viewed: 195 times Back

Copyright © 2004-2006 Janet Systems Ltd.

 Print   

DotNetNuke Website design and hosting from £15.00 per month. More...

Looking for a website design company in the Thames Valley, call us on 01628 566178

DotNetNuke Modules
DotNetNuke Modules availalble from Janet Systems

DotNetNuke Skins
DotNetNukeSkins.gif

from Janet Systems

Padding
Copyright 2002-2008 Janet Systems Ltd.   Terms Of Use  Privacy Statement Thursday, May 15, 2008