Set the width of the containing div to the same as the image, and center the image using automatic margin, as in:
HTML Code:
<div id="logo_container">
<img id="logo" src="your_image.png" ... />
</div>
Code:
#logo_container {
width: 146px;
}
#logo {
margin: 0 auto;
}
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
Last edited by lizciz; 06-19-2012 at 06:45 PM..
|