English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

why does my image on the table won't apear? can you give me a code to solve this?here is my code i need it to my computer science class



first page
















2007-01-22 08:05:51 · 5 answers · asked by E.S ZEBULUN 2 in Computers & Internet Programming & Design

5 answers

For the first table, for which you have:










I'd suggest this:









I hope that helps!

2007-01-22 08:15:45 · answer #1 · answered by Anonymous · 0 0

DUDE...your HTML is really messed up. The image problem is the least of your issues.

Start with a clean table:




Content Goes Here
Content Goes Here


The best may to apply a background image to a table cell is via CSS. Either apply it as an inline style:


Content Goes Here


or assign a class or id to the cell and declare the CSS in a seperate CSS file.

By the way, the CSS notation in the example is used thus:
background: url("../images/bg-body.gif") repeat-x #ffffff;

url is the path to the image you want to display.
repeat-x means repeat horizontally, you can also use repeat-y or no-repeat.
the last value is a hex code for the background color, in this case white.

remember that the background image is display on top of the background colour, but below the background content.

2007-01-22 08:24:14 · answer #2 · answered by Klausy 2 · 0 0

Put the

and tags inside the tag.

is for a table cell, you cannot have a table cell until you create the table.

2007-01-22 08:09:37 · answer #3 · answered by Yoi_55 7 · 0 0

(edited) - Okay, you have to have something IN the cells in order to see the background image. You also need to take the "table" out of the "table background" line, and make it look like:

2007-01-22 08:11:45 · answer #4 · answered by davidinark 5 · 0 0

where you have your images in your table replace it with:






2007-01-22 08:29:04 · answer #5 · answered by teh.sparda 1 · 0 0

fedest.com, questions and answers