PDA

View Full Version : DD Window dhtml modal window



cmschick
03-15-2007, 02:19 PM
1) Script Title: modal.css

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm

3) Describe problem: Just trying to set a background-image attribute for the drag-handle class in css. I would like to style the title bar of the window to use a background image instead of a color but I cannot get it to work. Any help would be greatly appreciated.

Thanks,

Chris

ddadmin
03-15-2007, 09:57 PM
Have you tried something like:


<style type="text/css">

.drag-handle{
background: transparent url(mybg.jpg);
}

</style>

Works for me.

cmschick
03-15-2007, 11:42 PM
Thank you. I never thought to try it on the page. I was trying to do it in the css and it wasn't picking it up for some reason.