- 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!
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!