Hi
I wish to center my tables if the screen resolution is above 800x600,
if it is 800x600 it will be a full screen, based using
<div style="position: absolute; left: 1; top: 0; 777; id="logooo">
and the javascript file below, all this works, apart from one thing, I
am using HierMenus, using pixel positioning for the position of the
drop downs. ..e.g however these are all out of alignment when I am
using the above div to center the table.
Has anybody on this list seen anything like this before, and any
ideas for a solution?
// Pixels from left edge of browser
var currentPosition = 6;
HM_Array1 = [
[,currentPosition,topPosition],
["Introduction","intro.cfm",1,0,0],
["Contact Us","http://contactus.cfm",1,0,0]
]
currentPosition = currentPosition + 94;
the javascript linked to the div described above (BTW same happens
when trying div align=center)
}
var screenWidth = 0;
if (document.all != null) {
screenWidth = document.body.offsetWidth - 777;
} else if ((navigator.appName == 'Netscape')) {
screenWidth = window.innerWidth - 777;
}
if (screenWidth >= 0) {
screenMargin = screenWidth / 2;
} else {
screenMargin = 0;
}
document.write('<div id="outer" style="position: absolute; left: ' +
screenMargin + 'px; top: 5px; z-index: 1">');
window.defaultStatus = 'Intranet.net';
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists