Navbar Failing Test on Portfolio Page

Hi All,

I have searched the forums and cannot find an answer to my specific problem. My Navbar is still failing the third test in the #Layout section. It claims “Navbar’s parent should be body and it should be at the top of the viewport : expected 19.90625 to be close to 0 +/- 15”. I have the Navbar position fixed, and it remains as the top of the page as you scroll through. Below is the link to my page, I have not added content yet as I am trying to get the structure completed before I muddy the water any further, but this is beyond frustrating as it behaves according to the test, but does not pass.



I found a solution on Google to add the following:

top: 0;
left: 0;

… and for some reason it now passes the test. Can anyone clarify what those two notations actually control? Do those items default to controlling margin if you do not specify? Because I already had the margin at 0.

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