Centering Elements in CSS box
Hello,
Can somebody please help me with this? I'm creating some logo boxes in css - here is my code so far:
.logobox {
width: 120px;
height : 60px;
border: 1px solid Silver;
background-color: White;
}
I want to place a logo into the box using the code above, but I automatically want it centered both horizontally and vertically within the box. The html code would be:
<div class="logobox">[img]images/logohere.gif[/img]</div>
What would I add to the CSS code to make this work?
Thank you SO much.
__________________
Free Online Paid Surveys - Americans, Canadians, Australians, UK residents, International residents, Kids - anyone can join!
|