Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

How can I write into the image properties?

I like to write something into the image , <div class="item active"> <img class="image-reponsive" src="img/sea.jpg" alt="..."> <div class="caption">
<h1>Welcome to my new world</h1> <p >This is my first Starter Template by the inspiration of my sons.</p> </div> </div>

3 Answers

Hi Nurul Ahsan,

do you want to have a picture with overlapping text? Like this?

http://codepen.io/anon/pen/bdoLgw

Sorry, i miss-clicked on my own answer :-(

Thanks a lot.Its ok but not responsive. I am trying to make it responsive.Is there any way to make it responsive?

I have edit the padding-top:20px;

Yes, in my code simply change the width from pixels into percent. For example from 400px into 20%. That will make it responsive.

Hello, Christian Andersson, Have a nice day to you. Thanks for the best answer.