This code disables context menu, cutting, copying and dragging text. Sometimes you need it. Just add the code to a page or to .js file and include it to a page.
This code disables context menu, cutting, copying and dragging text. Sometimes you need it. Just add the code to a page or to .js file and include it to a page.
When you have a table which you can’t edit, you think you can’t do anything with it. It may be a result of an outside procedure or web-service (usually it returns data in XML, but html-table also can be).
So, for example, we have a list of Borussia Dortmund players. We know id in list, Name of player, his Lastname and date of birth (Figure 1). (read more...)
Using Google AdSense panel I saw that google gives only 3 stars of 5 available. My self-esteem warmed up because I want five stars 🙂 So I’ll tell about it. (read more...)
For example, I need to make list like this:
My list items
- item1
- item2
- item3
Here's a nice way to make list with dashes. (read more...)
Create a table with cells width exactly you need is some more difficult than it may be seemed at once. So, if you need to make a table 300 pixels width with 5 cells same width, than cell width should be no more than 60 pixels. Of course, you should remember about borders and paddings in cells. (read more...)