Put an X on the topright of a div without making the top clickable
- by acidzombie24
I have a rect and have an X on the top right with items inside of it. The div with the X is clickable. The problem is the whole top area is clickable and not just the topright (the 'X') as i wanted. How do i make only the X clickable and still align to the right?
my css is
.itembox
{
float:left;
}
.itembox .RemoveMediaNotif
{
text-align: right;
text-decoration:underline;
cursor: pointer;
}
my html is
<div class="itembox" id="i16"><div class="RemoveMediaNotif">X</div><div ...