Not Rendering Web Page Properly Only In Desktop Brave Browser

A webpage I wrote is not rendering properly from a web server, only through the desktop Brave browser. The web page renders correctly when it is opened in brave locally on my Windows 10 PC but not from the web server. Specifically, two horizontal rules, automatically sized and generated by JavaScript embedded in the Head of the page, are not rendering to the correct length. It could be that the browser is processing the JavaScript differently when opening the page from a server as opposed to opening locally from the PC.

The web page renders correctly from the server on the mobile brave browser. It also renders properly from both mobile and desktop versions of the safari, edge, and firefox browsers.

Steps to Reproduce (add as many as necessary): 1. 2. 3.
Open the web page from a web server, such as http://pwentropy.epizy.com/calculate.html

Actual Result (gifs and screenshots are welcome!):
serverSample

Expected result:
localSample

Reproduces how often:
It reproduces every time.

Operating System and Brave Version(See the About Brave page in the main menu):
Windows 10 Build19045

Version 1.50.114 Chromium: 112.0.5615.49 (Official Build) (64-bit)

Additional Information:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.