Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.