JS Получите ширину погружения
document.getElementById("mydiv").offsetWidth
Horrible Hawk
document.getElementById("mydiv").offsetWidth