{ Snipperize } /ie
Snippets about ie
Cross Browser Opacity
Includes ie8, ie5, ie6, ie7, netscape, safari, etc.
CSS / ie, safari, opacity, transparent / by ThePeppersStudio (136 days, 21.01 hours ago)
Cross Browser Hr Styling
Here’s a way to get cross-browser hr tags with some progressive-enhancement niceties. Note the use of page-break-after for printing purposes, as well as the line-height and margin to position the :after content (which are section symbols). you set both the color and background-color since different browsers render hrs differently. The goal here is to make the line look like a line of the color you intended, not necessarily to make it look exactly the same in all browsers. hr { background-color:#444; border-width:0; color:#444; height:2px; line-height:0; margin:-.5em 10px 1.8571em 10px; page-break-after:always; text-align:center; width:80%; } hr:after { content:"\a7\a7"; font-size:1.25em; }
CSS / hr, ie / by ThePeppersStudio (136 days, 21.04 hours ago)
HTML5 And IE Compatibility
XML/HTML / html5, ie, compatible, hack / by ThePeppersStudio (212 days, 20.31 hours ago)
Min-height for IE (and all other browsers)
Since min-height doesn't work in IE, this code makes up for IE's shortcomings. The first part of the code is the correct code that works in Firefox and Safari. The second part of the code is for IE. Internet Explorer will ignore min-height and is just given a height of 8em. The IE bug automatically expands the container to fit the extra text.
CSS / fix, ie, min-height / by ThePeppersStudio (251 days, 3.02 hours ago)
- 1
- Home
- New Snippet
- Languages
-

