I use the SVG logo as a background image, and I cannot get it to align left correctly in Internet Explorer (edit: and Safari).
The containers look like this:
<div id="header"> <div id="logo"></div> </div>
With styles:
#header{ width: 100%; max-width: 1200px; height: 100%;} #logo{ background: url(../images/ss_logo.svg); background-position: left center; width: 100%; height: 100%; float: left;}
You can see that the <div> should cover 100% of its parent, but display the logo to the left of the element. This works fine in Chrome and Safari, but the logo is always inside <div id="logo"> in IE.
It seems really hard to find information about this, does anyone else have the same problem?
Here is a link to an example version of the problem , the green field is SVG.
html css svg
bluefantail Jul 30 '13 at 10:20 2013-07-30 10:20
source share