image, then some padding, THEN to the border

I have a table with two columns and multiple rows, using this method to post pictures of items with the description of the item below.  I mention this to say that my images are inside a < td >.  I thought it might be easier to set up a table to float each image left or right, but maybe I'm wrong.

Is it possible to have said image, add a padding and have a thin border appear? (it is so "white space" between the image and the border) I tried to create this class:

{.mjimage}
border: #C33;
padding: 3px;
border-width: 1px;
}

and then of course give appropriate this class image.  Does not work.  This is bcz image is inside a < td >?  If so, in what other way could do this?

CSS:

table {width: 100%; border: 0}
TD {border: 1px solid green ;}}
TD img {border: 1px solid silver; padding: 25px ;}}
TD {width: 50% ;}}

HTML:





A description goes here description goes here.

Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
www.Alt-Web.com/
www.Twitter.com/ALTWEB
www.Alt-Web.blogspot.com

Tags: Dreamweaver

Similar Questions

Maybe you are looking for

  • Numbers/filtering/all filters, filter

    Hi all I have read the Help menu of numbers and tried to understand this filter option on the right side of my document. When you apply filters there is a choice between all the filters and any filter. All filters, I do not understand. I chose 3 filt

  • Satellite A215-S4817 - update the BIOS

    Hi, I'm trying to find the update of the BIOS for a Satellite A215-S4817. I tried several BIOS updates for numbers of similar but not exact model without success. In addition, this Web of Toshiba site does not recognize my serial number, and it canno

  • My friends send pictures on my facebook, but they do not publish.

    I go to the facebook page that is common to see a picture of friends, but no picture is displayed.

  • Not supported by this version of Windows

    I recently downgraded to windows 7 on my desktop Windows 8.1. I don't really like the feel of everything. Which is besides the point. When I reinstalled windows and went to update my drivers and I get a dialog box that says something in the sense of

  • Laptop with windows 7 detects no no Iphone 4S

    My laptop which has Windows 7 does not detect my iphone 4 into my computer. I have installed and reinstalled iTunes and the fone is detected in itunes and load also when I connect to the laptop but anyway its not detected in my computer and when I ch