Browse DevX
Sign up for e-mail newsletters from DevX


Using Graphics : Page 5

Just having a collection of Web-ready graphics is a good start. Now you have to learn how to use them effectively on your Web pages.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

Row and Cell Background Images

To place an image in the background of a table or a cell, use the background attribute within the tr, th, or td tag.

To use an image as a table row, or table cell background, add the "background" attribute to the appropriate tr, th, or td tag, like this:

<tr background="imageURL">

The background attribute's value is the URL of the image you want to use for the table background.

Here's a table that contains one row and two cells with background images. click on the table title to see the code that created it.

If you have Navigator you will see the row effect. If you have IE, you will not. In this case, Navigator 4X supports the background attribute for table rows, but IE 5X does not. Cells are handled identically in both browsers.

Names & Numbers

NamePhoneEmail Sue Z. Queue 716 555-1212 litlgrrl@pigtails.com George Washington 212 555-9876 firstprez@cherrytree.gov James Brown 321 555-7777 theman@brown.com

Check out the Project Cool Tables tutorial for more information on making tables.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date