is there an html code...?

that will let me put some type of background around a picture with words? like.. theres words under the picture, and it want it all to look like one..like a black background?

Public Comments

  1. Not following you 100%, but you could either... place the image and the words below it in a table cell that is set to have a black background or place the image and the words inside a div tag that has been styled to have a black background Add some padding to either the table cell or div so that there is some space around the content.
  2. possibly using a table of one row and one column, and put a break tag under image for html text, or use two rows and one column, one for image and one for text, <table border = "1"> <tr> <td>image url <br> My text </td> </tr> </table> tag table, http://www.w3schools.com/tags/tag_table.asp http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_table_background Nvu ,html editor, wysiwyg http://www.nvu.com/index.php ..
  3. Use css! <div id="outercell"> <div id="imgcell"> <img src="..." [words...] </div> </div ...then in your css #outercell { background-color: #000; padding: 5px; } #imgcell img { border: 1px inset #666; margin 2px; } ...whatever for words ... ... and whatever in the css you want to provide for alignment, and whatever you want to adjust there...
Powered by Yahoo! Answers