A
A
Alexander2015-12-02 22:39:31
css
Alexander, 2015-12-02 22:39:31

How to fix position: absolute in firefox?

Firefox :
d98c9d92.jpg
Google Chrome :
779ace23.jpg
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;
}

How to fix in firefox?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Goryachev, 2015-12-02
@kentuck1213

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 question

Ask a Question

731 491 924 answers to any question