No replies
ghurty
Offline
newbie
Last seen: 13 years 1 week ago
Joined: 2009-01-13
Posts: 4
Points: 0

How can I have two columns (each row has text and image), but with everything in the same DIV?

My current CSS that makes everything into one column:

DIV.VendorList1 ul {
float: left;
margin: 0;
padding: 0;
 
}
 
DIV.VendorList1 li {
background-color: wheat;
width: 400px;
padding-top: 15%
padding-left: 15%
height: 20px;
line-height: 50px;
 
 
 
}
DIV.VendorList1 img, img a {
border: 0;
padding-right: 5px;
width: 50px;
hight: 50px;
 
 
}
 

Thanks