Copy link to clipboard
Copied
Has anyone else had problems with cfdiv not positioning properly in the browser window? I have a cfdiv, inside an absolute positioned div, that displays in different parts of the browser window in different browsers. The code is basically:
div class="headerSubMenuBox" id="divHeaderSubMenuBox">
<cfdiv id="divSubMenu" bind="url:/process/submenu/about.cfm" bindonload="false" />
</div>
Copy link to clipboard
Copied
It's been my experience that the cross-browser issues like this are usually corrected by using different CSS for each of the major browsers. Whether it's a matter of using a different .css file for each browser, or using some other method of determining browser and modifying the CSS accordingly, most issues can be resolved. Most.
^_^
Copy link to clipboard
Copied
Try adopting something like the Yahoo! user interface toolkit, which has some of the best possible support for cross browser stuff, and is free. It's a bunch of work to get started, but if you need to work on Opera, Chrome, and IE 6, you'll be smiling.
Copy link to clipboard
Copied
Please make sure the "x" and "y" specified for the cfwindow,
Sample code-
ColdFusion.Window.create('Window1', 'Window Title','test.cfm?test=bv',
{_cf_refreshOnShow:true,x:100,y:100,height:300,width:400,modal:false
,closable:true,draggable:true
,resizable:true,center:true
,initshow:true,minheight:200,minwidth:200 })