answersLogoWhite

0

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.

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi

Add your answer:

Earn +20 pts
Q: How do you create a button that perform cut operation using css?
Write your answer...
Submit
Still have questions?
magnify glass
imp