You
need to play around with margins. Set the bottom-margin property of your
<span class="contact_Name"> to 0 and the the same with the top-margin of
the <p class="p">, so:
.contact_name {
margin-bottom:
0;
}
#contacts .p {
margin-top:
0;
}
I
think that might work, but I must say I agree with other posters on this subject
that you could mark this up in a much more logical way to avoid so many
otherwise redundant classes. I would do it this way:
<div class="contacts">
<img class="contact_img"
src="" alt="Question Mark
Graphic">
<dl>
<dt>Contact</dt>
<dd>Contact
name</dd>
</dl>
</div>
and
the CSS would be:
.contacts .contact_img {
width: 45px;
height: 45px;
margin:
3px;
float: left;
}
.contacts .contact dl {
margin-left:
52px;
padding: 0;
}
.contacts .contact dl dt {
margin-bottom:
0;
padding: 0;
}
.contacts .contact dl dt {
margin-top:
0;
padding: 0;
}
Obviously it would need a little more tweaking to get it to look how you
want. :) ------------------
|
<<image001.jpg>>