0
I want when I minimize the window the logo of my site to follow without distorting, as when testing a site on mobile phone or tablet, or whatever the image is responsive to content, but this only happens to me in internet explorer, Chrome and firefox already works well!
html:
<div class="banner">
<img class="seven-logo" src="img/7a_logo_center3.png" alt="logo_centro">
</div>
CSS3
img.seven-logo{
display: block;
margin-left: auto;
margin-right: auto;
vertical-align: middle;
top: 50%;
left: 50%;
}
/*RESPONSIVE_IMAGE PARA FIREFOX*/
@-moz-document url-prefix() {
img.seven-logo{
width: 100%;
max-width:600px;
max-height:156px;
}
}
Thanks, it was poorly edited. Can you help? maybe a similar hack for IE like the one I used for Firefox?
– Schismatick
It is unclear what you are asking. Edit the question, reduce the title and give us more details in the body of the post.
– Bruno Augusto
I hope I’ve been clearer?
– Schismatick
Your question is not clear yet, detail exactly the problem in question, what happens in IE that works in Firefox, but for now here is a fiddle I did on a centralized and responsive banner with Css (no hacks): http://jsfiddle.net/vFQNa/
– Leonardo Bosquett
I hope the image above helps to understand
– Schismatick
Leonardo Thanks! my logo is already responsive in IE the problem was that in the properties beyond the max-width I also had to set only the width!
– Schismatick