Hello everyone,
This is a piece of code i have written in HTML
<html> <head> </head> <body> <style> .text_over_image { /* image to display */ border-style: none; border-color: inherit; border-width: medium; background-repeat:no-repeat; background: url(''); width:42px; /* width of image */ height:43px; /* height of image */ color:000000; /* text color */ font-size:12px; /* font size */ font-weight:bold; /* font weight */ font-family:Arial; /* font family */ text-decoration:; /* text decoration */ text-align:center; /* border around image if desired */ overflow:hidden; /* so div won't change size */ padding-left:0px; /* left position of text */ padding-top:20px; /* top position of text */ } </style> <div class="text_over_image" id="Tag" style="top:3%; left:1%; position:absolute; background-image: url('WaterTank11.bmp'); width: 170px; height: 78px;"> N/A <input type="hidden" name="Tag" value ="~Enter tag Here~"/> </div> </body> </html>
When i select the div element from the design view and rigth click and copy it, its copying only the div tag but not the contents i it. I can see options to either copy a tag or contents, but how to copy both?
I am trying to copy the element from the design view and paste it on the same deisgn view. It always skips the hidden element contant when i paste it.