Here's the best solution:
dont do it.
It sounds very unnecessary.

Here's the best solution:
dont do it.
It sounds very unnecessary.
Hey, additional solution since im more awake now. Just use the php with the css file. Simply make your css file a .php, add my code to it, but inline with your other css and it should work.
Additionall at the top of the doucment you may wana set header to make sure browser recognises it as css file
aka at top of css page have
<?php header('Content-type: text/css'); ?>
1) It's needed
2) It's your crap post that's very unnecessary.
Thanks, ill try it nowHey, additional solution since im more awake now. Just use the php with the css file. Simply make your css file a .php, add my code to it, but inline with your other css and it should work.
Additionall at the top of the doucment you may wana set header to make sure browser recognises it as css file
aka at top of css page have
<?php header('Content-type: text/css'); ?>
The other day I was in a toilet.
A voice came from the cubicle next to me: "Hello mate, how are you doing?"
I didn't want to be rude, so I said, "Not too bad, thanks."
I heard the voice again. "So, what are you up to?"
Again I answered, "Just having a quick ****... How about yourself?"
Then I heard him say "Sorry, mate, I'll have to call you back. I've got some **** in the cubicle next to me answering everything I say."
<script>
var now = new Date();
var hours = now.getHours();
var psj=0;
//18-19 night
if (hours > 17 && hours < 20){
document.write('<body bgcolor="orange" text="#FFFFFF">')
}
//20-21 night
if (hours > 19 && hours < 22){
document.write('<body bgcolor="orangered" text="#FFFFFF">')
}
//22-4 night
if (hours > 21 || hours < 5){
document.write('<body bgcolor="black" text="#FFFFFF">')
}
//9-17 day
if (hours > 8 && hours < 18){
document.write('<body bgcolor="deepskyblue" text="#FFFFFF">')
}
//7-8 day
if (hours > 6 && hours < 9){
document.write('<body bgcolor="skyblue" text="#FFFFFF">')
}
//5-6 day
if (hours > 4 && hours < 7){
document.write('<body bgcolor="steelblue" text="#FFFFFF">')
}
//-->
</script>
I will code layouts in Ajax, Divs, Expandable or basic your choice - Pm me for cheap price, I beat most prices on coding
ExtenHost.com & HabboHotelFM.com Owner
Want to hide these adverts? Register an account for free!