title: how to center a relative div horizontally using jquery on window resize?
body: <p>i am initially centering div horizontally using jquery but when the window is resized it looks bad so what i want to do is keep it centered using jquery after the window is resized</p>
  
  <p>is there a way to help?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>guys i have successfully made other elements centered but i am having another issue now :(</p>
  
  <p>please check this
  <a href="http://hrmanagementbradford.com/gallery/" rel="nofollow">http://hrmanagementbradford.com/gallery/</a></p>
  
  <p>and resize the window, you will see that the content doesn't get positioned correctly, i am trying to fix this for hours but can't find the solution please help with that</p>
  
  <p><strong>EDIT</strong>
  solved! it was complex and my code is very specific so posting it here won't help :)
  and
  although i used jquery to center it but if we use the css thing then FutureKode's answer is best suited for me :)</p>