I get an error message “The #quote-box wrapper element should be horizontally centered. Please run tests with browser zoom level at 100% and page maximized”.
When I measure it on screen it is horizontally centered but not vertically.
Tests passed 11 of 12.
I would appreciate some guidance here.
Thank you for changing the link for me. I am not very familiar with how to use the system to enter the details of my problem. I corrected my code to remove error there you pointed.
I removed the from the jquery code and it solved the problem. Now passes all 12 tests. I guess it must be the strictness of the tests which causes it to fail because if I physically measure the position in the browser it is fine?
I changed my code to use the animate function as you suggested and so everything works ok now.
It is because hide sets the element to display: none which makes it have no dimensions so the test can’t measure its location in relation to the viewport.