The availWidth property returns the width of the visitor's screen, in pixels, minus interface features like the Windows Taskbar.
The availWidth property is supported in all major browsers.
Return the available width of your screen:
The output of the code above will be:
Your message has been sent to W3Schools.