Auto-resizing skewed background in CSS (+ images?)

后端 未结 7 599
一向
一向 2021-02-08 01:36

I\'m going to convert this PSD image to CSS. I\'ve multiple h2s in multiple pages, so the inner text lenght and background-color may vary. Therefore the background should automa

7条回答
  •  爱一瞬间的悲伤
    2021-02-08 02:15

    
    

    The above code will make IE 5.5 through 8 run like a modern compliant browser, as far as styling/functionality in the page is concerned. This script is specifically made to address CSS/rendering errors in past versions of IE.

    Here is documentation on the script: http://www.charlescooke.me.uk/web/lab_notes/ie7_script.html

    This is kind of an "IE Fallback", but a better way to approach the issue. Instead of making a ton of versions of the content to render the exact same way using different browsers, this simply forces modern compatibility upon early versions of IE.

    I've used this script in the past to fix similar CSS rendering errors. This specific script above is to update IE5.5-8 up to 9. If you deliberately wish to upgrade IE5.5-7 up to 8 (no idea why you'd need to, but if you so desire), additional scripts at the URL below can do this.

    Here is Google's page and into docs on it (includes the link above on this page as well) http://code.google.com/p/ie7-js/

提交回复
热议问题