Positioning a text over an image is very common and lot of people bump into several forums just to understand this.

Although I think this is not an appropriate topic to be created as tutorial but I think this will help a lot of people to easily understand the logic behind the scene.

The logic here is to wrap both the text and image together in a container.

For the container, let’s put a position property with relative value and display property with block value.

For the text, let’s put a position property with absolute value. This will make our text floating inside the container. Let’s add the top property with a fix value of 10px, left property with value of 0, and the width property of 100% or depends on the width of the text you want to put in. Let’s add some padding to the text and background color to make it look good.

<style type="text/css">
	.image-wrapper {
		position: relative;
	}
	.image-wrapper h3 {
		position: absolute;
		top: 10px;
		left: 0;
		background: rgba(0,0,0,0.6);
		padding: 20px;
		color: #ffffff;
	}
</style>

<div class="image-wrapper">
	<img src="image.jpg" alt="">
	<h3>This is the text over the image. Looks good huh?</h3>
</div>

How to take Cialis it seems to me that would already be time to cease to discuss this question. As I already answered it not once. Have it in a look. You shouldn’t worry! All deer go south when they are called by homesickness. Are turned and lie on snow till some hours.

This is the text over the image. Looks good huh?