Author Archives: admin
If you want to completely remove Internet Explorer border around images that are links, use the following CSS code.
When creating a CSV file with the special characters, be sure to encounter the problem of encoding characters. Although the output is in UTF-8 OK, Microsoft Excel displays the wrong characters. The solution is simple and is called BOM. At … Continue reading
In this paper, I will bring a simple command (condition) in PHP to check whether a string contains another string. Unfortunately, PHP don’t have function contains, and we must create it yourself. 1st Testing whether a string contains a substring. … Continue reading
Often it is necessary for PHP to find out what is the URL of the currently displayed page. If you are using only HTTP and not using a different port number than 80, you can use the following code: If … Continue reading
There are many tutorials on CSS positioning. In short, there are three modes: static relative absolute In static mode, the element is located where it should normally be. In relative mode is the position set by the parent element. And … Continue reading
The close () in JFrame unfortunately does not exist. Nevertheless, we can easily form close. or The first method described only invisible form. We can work with him in the future. The second method invisible form and releases all used resources.
In this post, some advise for beginners. Do you need print some debug info using printf and it print at the wrong time or does not print nothing? Don’t remember to flush the buffer, which is in the output. You have to use command fflush (). Stdout is the abbreviation for the standard output to the console. Fflush command can be used when working with files … Continue reading
Do you need execute an exception? Just use a simple code: or for example: