I am creating a list of images that will float left. A couple of the images are not floating left. I used the following css code
Here is a link showing the issue
Newbie in search of knowledge
Here is a link showing the issue
Code:
<style type="text/css">
#staffimgs ul {
list-style : none;
width: 780px;
margin: 0;
margin: 0;
border-top: 20px solid gray;
font-size: 12px;
}
#staffimgs li {
float: left;
width: 260px;
padding: 2em 0; /* top right bottom left */
}
#staffimgs h3 {
margin: 0 10px; /* top right bottom left */
padding: .5em 0 0 0; /* top right bottom left */
font-size: 100%;
}
#staffimgs img {
display: block;
width: 150px;
height: 150px;
}
#staffimgs p {
margin: 0 10px ; /* top right bottom left */
padding : 0 0;
}
</style>
Newbie in search of knowledge