Struggling with this issue for a few days now and I can't seem to pinpoint the cause. After some online research, it seems like a collapsing margin bug might be the culprit, but I'm hoping to get a clear answer or at least some guidance.
I have a div that is absolutely positioned within a relative div. The position of this div varies between Mac and PC.
The screenshot below is from a Mac:
The screenshot below is from a Windows PC:
This issue also occurs on iOS devices and is consistent across different browsers.
<div style="position:relative;" id="section3">
<div class="highheader" style=" font-size:42px;position:absolute; top:-8px; left:25px; color:black;" id="categoryname">VIDEO HIGHLIGHTS</div>
Above is a snippet of the code. It seems that the top:-8px absolute value is being interpreted differently on different machines. This issue persists for every div set up in a similar manner. You can view a version of this code on my server where the problem is occurring here.
Hopefully the information provided is sufficient, but if not, feel free to ask for more details!
I'm truly stuck on this, so any help would be greatly appreciated. Thank you.