Do yo mean to 'cover up' the other text? It would need to be positioned absolutely
.author {
...;
position:absolute;
}
سؤال
I am prepending elements with jquery. Here is what I add:
<span class="author">AUTHOR: Ayuidasht</span>
im trying to get it to be above the other text, but it is still not working with z-index.
.author {
color:red;
font-family:"Drone";
z-index:99999;
background-font:green;
}
المحلول
Do yo mean to 'cover up' the other text? It would need to be positioned absolutely
.author {
...;
position:absolute;
}
نصائح أخرى
z-index works with position: absolute
. Hope it helps!