How can we replace .php file over .css file
Very Simple.
STEP1: This is your abc.php page
<!–<link href=”styles/zero.css” rel=”stylesheet” type=”text/css” />–>
<link href=”styles/zero.php” rel=”stylesheet” type=”text/css” />
{/code}
STEP2: This your zero.php (actually zero.css renamed with zero.php) page
{code type=codetype}
<?php
header(‘Content-type: text/css’);
$a=”img_main.jpg”;
?>
#s1{
/*background:transparent url(../images/img_main.jpg) repeat scroll 0 0;*/
background:transparent url(../images/<?php echo $a; ?>) repeat scroll 0 0;
border-bottom:1px solid #A0A0A0;
float:left;
height:208px;
position:relative;
width:1002px;
}
Page views:857