|
Posted by Bergamot on 12/20/07 14:07
Jonathan N. Little wrote:
>
>
> img.featurectr {
> border-width: 0px; <-- try "border: 0;"
Why? border-width:0; removes the border. Changing it to the border
shorthand property doesn't make any difference, it's just a few less
keystrokes.
> margin: 15px auto; <-- if you change images back to inline use
> padding not margin
FYI, margin works on inline images, too. The auto value won't center it,
of course, but margin:15px; will still put space between images. Using
padding instead only affects collapsing margins, at least in this case.
--
Berg
Navigation:
[Reply to this message]
|