OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to center an element independently from the container?

  • Thread starter Thread starter pipipupuuu
  • Start date Start date
P

pipipupuuu

Guest
I have a container that looks like this: container with links

(the text is in Georgian but that doesn't matter) problem is that the search field and it's button are not centered, and I can't fix it for a long time now.

I tried using z-index but that didn't work.

<p>I have a container that looks like this:
<a href="https://i.sstatic.net/9Q7c109K.png" rel="nofollow noreferrer">container with links</a></p>
<p>(the text is in Georgian but that doesn't matter)
problem is that the search field and it's button are not centered, and I can't fix it for a long time now.</p>
<p>I tried using z-index but that didn't work.</p>
 

Latest posts

Online statistics

Members online
1
Guests online
5
Total visitors
6
Top