On 1/23/11 3:31 PM, Cheryl Smith wrote:
I am trying to remove the space around the images in a website I'm putting 
together. When I add display: block; margin:0; to the CSS as it appears I 
should do, the red lines above and below the images move up as though the 
images aren't even there. (There are other issues with this site, but first 
things first).


Cheryl
http://umpquawebdesign.com/Jana/




Try:

#dog-pix {
border-bottom: #ff0000 3px solid;
border-top: #ff0000 3px solid;
overflow: hidden;
width:100%;
}
#dog-pix img {
display:block;
float: left;
height:9.75em;
margin-left: 0.2em;
}

Best,
Clyde Beatty


--
http://chelseacreekstudio.com/
http://chelseacreekstudio.com/fa/

______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to