There have been instances where I noticed that the CSS positioning property does not function as intended. Here is a snippet of my code:
.position
{
position:absolute;
left:50%;
}
According to the above code, the element with the specified class should be positioned at 50% of the screen, but for some reason, it is not happening. To place it in the desired location, I had to adjust it to 'left:220%'. What could be causing this discrepancy?
Thank you in advance.