How can I prevent IE from displaying a website? [closed]


Tags: javascript,html,css

Problem :

We all knows that IE has so many problems in opening html and rendering css files.

I want IE to show nothing when open a page.

How can I do this?



Solution :

You can use conditional comments and clear out your page!

<!--[if IE]>
<script>
window.onload = function() {
    document.body.innerHTML = 'Please choose a better browser!';
}
</script>
<![endif]-->

    CSS Howto..

    Show a gif image over a section to take up the space

    How to override the width property in css [closed]

    list-style-type no showing

    How to make a 2x2 grid of Div's in CSS?

    How to check if style ID contains certain css selectors?

    How to exclude some text from browser zoom

    How to use JavaScript to Alter CSS for Multiple Elements

    How can I specify relative positioning in HTML?

    how to make a span hold its position from an encroaching div

    How to put six divs in two rows

    CSS: How to make a span link to expand?

    How do front end devs bundle and minify files?

    How to set css class 'active' by using C#?

    Show text-decoration when hover over div

    How to change the images using HTML and CSS? [closed]

    How to position HTML code over CSS

    How to use this CSS rule for divs? [JSFiddle]

    How to avoid jquery library from effecting my css

    How do you create boxes like github's explore section?

    jQuery UI Droppable - How to allow only 1 element per drop zone, instead of stacking

    how to layout tictactoe with html and css on a webpage

    How to fix float sidebar in Wordpress with Constructor theme?

    How to update a web app without suffering cached CSS issues?

    How does this drop-down have the ^ shown?

    How to apply css style on the list of div by defending on the class name using javascript

    How to select text within li using css [duplicate]

    How to embedded all resources(css,js,images) into one single html file?

    How can I apply CSS to a link if at least one input is not original, and undo that change if all inputs are original?

    How to CSS style a table such that its width is within [min, max] percent of page width and as wide as necessary?

    How to force CSS to be displayed on empty element following whitespace