.d2w-forminput-0 {border-style: solid; border-width: 1px; font-size: px; font-style: normal; font-weight: normal; width: 300px; } .d2w-formtextarea-0 {border-style: solid; border-width: 1px; font-size: px; font-style: normal; font-weight: normal; height: 200px; width: 600px; } .thumbnaild2w{ position: relative; z-index: 0; } .thumbnaild2w:active{ background-color: #FFFFFF; z-index: 50; } .thumbnaild2w span{ /*CSS for enlarged image*/ position: absolute; padding: 0px; left: -1000px; border: 2px solid; border-color: #CCCCCC; background-color: #006699; visibility: hidden; color: black; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; text-decoration: none; cursor: pointer; } .thumbnaild2w span img{ /*CSS for enlarged image*/ border-width: 0; padding: 0px; } .thumbnaild2w:active span, .thumbnaild2w:focus span { visibility: visible; top: 0; left: 60px; /*position where enlarged image should offset horizontally */ }