Importing CustomControl into Library???
Hello Everyone:
I have written a piece of code using HTML div element and CSS as given below to hold text on top of an image.
<body>
<style>
.text_over_image
{
background:url("../../../../../Program Files/Adobe/Adobe Dreamweaver CS6/images/Sample1.bmp"); /* image to display */
width:42px; /* width of image */
height:63px; /* height of image */
color:000000; /* text color */
font-size:12px; /* font size */
font-weight:bold; /* font weight */
font-family:Arial; /* font family */
text-align:center; /* text position */
padding-left:0px; /* left position of text */
padding-top:0px; /* top position of text */
border:; /* border around image if desired */
overflow:hidden; /* so div won't change size */
}
</style>
<div class="text_over_image">
20.00
<input type="hidden" name="INTUNETag" value ="SomeNights"/>
</div>
</body>
Let me name this piece of code (div element with a class and an hidden element) as CustomControlOne. Now i want to place a 1000 of these on a webpage.
Question:
Instead or dragging and dropping a div tag always, can i upload this CustomControlOne into dreamweaver library and drag and drop that control instead. Is this possible?
