Skip to content

Raz Rassel

  • Home
  • About Raz
  • Contact Raz
  • Buy Now
YouTube Spotify
Raz Rassel
Web Dev

Center text over image

.container {
position:relative;
}

.absolute-center {
position: absolute;
left: 50%; /* horizontal alignment */
top: 50%; /* vertical alignment */
transform: translate(-50%, -50%); /* horizontal, vertical alignment fine tuning;
explanation: http://stackoverflow.com/q/36817249 */
}

Post navigation

Previous Previous
JS Full Window Height
NextContinue
Reposition Genesis header right widget

Similar Posts

  • Web Dev

    http to https in htaccess

    Read More http to https in htaccessContinue

  • Web Dev | Wordpress

    WordPress add class to menu anchor

    Read More WordPress add class to menu anchorContinue

  • Web Dev

    JS Full Window Height

    Read More JS Full Window HeightContinue

  • Web Dev | Wordpress

    Genesis Featured Image on top

    Read More Genesis Featured Image on topContinue

  • Web Dev

    Allow Iframe but restrict direct access

    Read More Allow Iframe but restrict direct accessContinue

  • Web Dev

    Adwords Call Forwarding testing

    Read More Adwords Call Forwarding testingContinue

YouTube Spotify
  • Home
  • About Raz
  • Contact Raz
  • Buy Now

© 2026 Raz Rassel

Scroll to top
  • Home
  • About Raz
  • Contact Raz
  • Buy Now