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 trialNurul Ahsan
2,039 PointsHow 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
Christian Andersson
8,712 PointsHi Nurul Ahsan,
do you want to have a picture with overlapping text? Like this?
Nurul Ahsan
2,039 PointsThanks a lot.Its ok but not responsive. I am trying to make it responsive.Is there any way to make it responsive?
Nurul Ahsan
2,039 PointsI have edit the padding-top:20px;
Christian Andersson
8,712 PointsYes, in my code simply change the width from pixels into percent. For example from 400px into 20%. That will make it responsive.
Nurul Ahsan
2,039 PointsHello, Christian Andersson, Have a nice day to you. Thanks for the best answer.
Nurul Ahsan
2,039 PointsNurul Ahsan
2,039 PointsSorry, i miss-clicked on my own answer :-(