PNG fix for Internet Explorer
CSS
Written by Websmurf   
Monday, 03 October 2005

Found a nice reference to make PNG transparenty work in Internet Explorer:

http://homepage.ntlworld.com/bobosola/

Too bad it will only replace images after they've been loaded, but it works. 

 

 



There are 0 comments for this article. Click here to add a comment
 
Setting crontab/creating cronjob
Linux
Written by Websmurf   
Thursday, 25 August 2005
Just some documentation about how to create a crontab:
Open a SSH connection to your server and sign in.
At the command line type:
vi crontab -e

The server will open the crontab file and shows all current entries. Enter "visual" if you're not allready in visual mode"

Use the following key combination: Shift + i

You will see the cursor move to the first line of the file. Put the cursor at the start of a new line and enter the job.
A cronjob typically looks like this:

0 0 * * * perl /home/site/cgi-bin/awstats.pl -update

This line means the following:

Execute perl /home/site/cgi-bin/awstats.pl -update every day at 0:00. I'll explain a bit more about this:

Every line looks like this:
1 2 3 4 5 command

1: minute to run at, * means every minute
2: hour to run at, * means every hour
3: day to run at, * means every day
4: month to run at, * means every month
5: weekdays to run, * for every day

replace "command" with the commando you wish to execute at the specified moment.

When you're finished adding the jobs, push the Escape button. Then type:

:wq

press enter to write and save the file.

The server will prompt with "Crontab installed" to confirm adding a crontab.


There are 1 comments for this article. Click here to add a comment
Last Updated ( Thursday, 25 August 2005 )
 
Only horizontal scrollbars on fixed div (overflow)
CSS
Written by Websmurf   
Wednesday, 24 August 2005
The following piece of CSS code displays only horizontal scrollbars for a fixed layer:

.myScrollingDiv{
  height: 400px;
  width: 400px;
  overflow: -moz-scrollbars-vertical;
  overflow-x: none;
  overflow-y: auto;
}


Usage in HTML:

<div class="myScrollingDiv">...</div>

The major disadvantage of this is, that firefox will now always display a vertical scrollbar.


There are 1 comments for this article. Click here to add a comment
Last Updated ( Wednesday, 24 August 2005 )
 
Messing around with Debian Linux
Linux
Written by Websmurf   
Tuesday, 23 August 2005
Last week, i've been playing around with Debian Linux. The first time i've started playing with Linux was a while back and it wasn't a great success. But, a new debian has been released and the installer should be a lot easier this time. Time to test it out.




There are 0 comments for this article. Click here to add a comment
Last Updated ( Sunday, 30 April 2006 )
Read more...
 
<< Start < Prev 1 2 Next > End >>

Results 10 - 14 of 14