Positioning a popup

Joined
Oct 10, 2020
Messages
9
Reaction score
0
Hi I am not a programmer but just a designer but I need to position a popup in some java code that someone wrote and passed to me,

I have an orage border popupsare style="position: static and show up when clicking an image, I would like how to possition that popup in any place where I want in the page, this is the code for positioning that I have now...

<div id="contnt-img-2" class="tooltip-content" style="display: none; border: 4px solid orange; width: 680px; top: 20%; right: 10%; position: static; background-color: #fff; padding: .5em;"><button id="close-cnt2 " style="position: static; background: none; border: none; top: -5px; right: -5px;" onclick="closecontent2(); return false; "> X </button>
<p>bla bla......................................</p>
</div>

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,708
Messages
2,569,348
Members
44,663
Latest member
XiomaraBla

Latest Threads

Top