CFwindow is great, but comes with its own fixed style which may not suit your site. However you can easily overide this.
You need to include an overide css style sheet in your page, either inline or linked e.g. <link rel="stylesheet" type="text/css" href="css/cfwindow_overide.css" />
The directory structure I am using is
webroot
> webpage.cfm
>> css <!--- cfwindow-overide.css goes here --->
>> images <!--- hd-sprite_flex.gif goes here --->
.x-dlg .x-dlg-hd {
background: url(../images/hd-sprite_flex.gif) repeat-x 0px -82px;
color:#FFF;
font:bold 12px "sans serif", tahoma, verdana, helvetica;
overflow:hidden;
padding:5px;
white-space: nowrap;
}
.x-dlg .x-dlg-bgcolor-hd {
color:#FFF;
font:bold 12px "sans serif", tahoma, verdana, helvetica;
overflow:hidden;
padding-bottom:5px;
padding-left:3px;
}
.x-dlg .x-dlg-hd-left {
background: url(../images/hd-sprite_flex.gif) no-repeat 0px
-41px;
padding-left:3px;
margin:0px;
}
.x-dlg .x-dlg-hd-right {
background: url(../images/hd-sprite_flex.gif) no-repeat
right 0px;
padding-right:3px;
}
.x-dlg .x-dlg-dlg-body{
background:url();
background-color:white;
border:3px solid #a7a7a7;
border-top:0px none;
padding:10px;
position:absolute;
top:24px;left:0;
z-index:1;
overflow:hidden;
}
.x-dlg-dlg-body {
background: #F6F6F6;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
}
+