S
Sally Thompson
I've been trying to improve my css and I've been struggling with a way
to put a set amount of padding round all my images in my stylesheet
and cannot find a way. Is this possible? At the moment, whenever I
include an image I put, eg, hspace="10" as in
<img src="image.jpg" align="left" width="275" height="206" border="0"
hspace="10" alt="blabla" title="bblabla">.
However, I believe that hspace and vspace are deprecated. What I want
to do is put something in the stylesheet which will apply to all
images but not to the paragraph containing the image.
to put a set amount of padding round all my images in my stylesheet
and cannot find a way. Is this possible? At the moment, whenever I
include an image I put, eg, hspace="10" as in
<img src="image.jpg" align="left" width="275" height="206" border="0"
hspace="10" alt="blabla" title="bblabla">.
However, I believe that hspace and vspace are deprecated. What I want
to do is put something in the stylesheet which will apply to all
images but not to the paragraph containing the image.