Answer the question
In order to leave comments, you need to log in
How to fix position: absolute in firefox?
Firefox :
Google Chrome :
html : <span>Нояб 18, 2015</span>
css :
div.news-and-events div.default-news div.news span {
position: absolute;
margin-top: -51px;
color: #fff;
background: rgba(18, 23, 15, 0.69);
padding: 8px 19px 10px 9px;
}
Answer the question
In order to leave comments, you need to log in
Set the relative to the parent. And the absolute positioning is still through the left, top.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question