Question On CSS and Divs
Posted: Tue May 31, 2011 11:37 pm
Hey everyone. Well im trying to make a big square made out of little squares that are 100px by 100px each. The big square is a 3 by 3 of each of the little squares. I have the square done but the problem im having is that a little space between each of the squares shows up. I cant figure out how to get rid of it. The css for each of the squares is this...
and then my div tags are just div tags that have a img inside of them. Can someone please tell me why it isnt working? Thanks!
Code: Select all
#mapwrapper {padding:0px; margin:0px;}
#mapwrapper a {border-bottom:none;}
#topleft {padding:0px; margin:0px; width:100px; height:100px; display:inline;}
#topcenter {padding:0px; margin:0px; width:100px; height:100px; display:inline;}
#topright{padding:0px; margin:0px; width:100px; height:100px; display:inline;}
#centerleft {padding:0px; margin:0px; width:100px; height:100px; display:inline; }
#centercenter {padding:0px; margin:0px; width:100px; height:100px; display:inline; }
#centerright{padding:0px; margin:0px; width:100px; height:100px; display:inline; }
#bottomleft {padding:0px; margin:0px; width:100px; height:100px; display:inline; }
#bottomcenter {padding:0px; margin:0px; width:100px; height:100px; display:inline; }
#bottomright{padding:0px; margin:0px; width:100px; height:100px; display:inline; }


