The short answer: you can't.
CSS doesn't have anywhere near the ability to perform an operation requiring access to the user's clipboard. To do this, you would need a more advanced technology.
JavaScript is the most immediate candidate. But JavaScript is specifically barred from accessing the clipboard by the EMCA standards (which almost all browser vendors adhere to.)
Instead, you have to resort to the proprietary technology provided by Adobe's Flash. The technique, furthermore, requires the use of an "invisible" Flash movie to activate. In other words, the "right click" or "keyboard input" methods of cut aren't available. Furthermore, they're very difficult to mimic.
Anyway you "cut" it (pardon the pun) you can't use CSS for this kind of functionality. JavaScript (however) could be used to give a reasonable facsimile and Flash can give you the actual Operating System based functionality.
Chat with our AI personalities
yes to over load plus in java by using arthamatic operation we can perform it
How to you Create 2 text-field and 1 button in java using applet and then get the input as integers in 2 text-field and to display the output in label already created when you click the button? please send immediately,needed urgently
If you are using the Button class, you can't. java.awt.Button only allows for text to be displayed. However, if you are using the javax.swing.JButton class you can make a call to JButton.setIcon(Icon) to add an image onto your button. Example: // Let's create a new button JButton button = new JButton(); // Load the image in img.gif (this image may be a GIF, JPG, or PNG) ImageIcon icon = new ImageIcon("img.gif"); // Add the image to the button button.setIcon(icon);
You can enter a search button in HTML using this code, .
You can create your HTML page easily by using tags. Tags are the elements by writing them, you can create your views.