To fit image size to div size in HTML you need to set max-width and max-height without applying an explicit width or height.
Sample HTML
max-width:100%; max-height:100%;
To fit image size to div size in HTML you need to set max-width and max-height without applying an explicit width or height.
max-width:100%; max-height:100%;
To open cd rom drives in VBScript you can use the following snippet.
Set wmPlayer = CreateObject("WMPlayer.OCX.7" ) Set colDrives = wmPlayer.cdromCollection if colDrives.Count >= 1 then For i = 0 to colDrives.Count - 1 colDrives.Item(i).Eject Next End If