CSS Support Redirect

[Total: 0    Average: 0/5]

Cascading Style Sheets (CSS), supported in version 4.0 and new browsers, allows webmasters to have more control over how their sites are viewed.

Body Code:

<div id="checkcss" style="position:absolute;"></div> 

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var yes = "/"; // CSS page
var no  = "/js/";  // Non-CSS page

// How should we look for the (CSS) DIV ?
// Netscape will look with:  document.checkcss
// Internet Explorer will look with:  checkcss

checktype = document.layers ? document.checkcss : checkcss;

window.location = (checktype) ? yes : no;
//  End -->
</script>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *