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


Faruk Suljagic
Faruk Suljagic
300 Points

Image positioning.

i have a picture in my html file and it sits in the top left corner on the page, i want to move it to a different position, how do i do that?

1 Answer

Jacob Jackson
Jacob Jackson
UX Design Techdegree Student 7,833 Points

Hey Faruk!

There are .a few different things to consider depending on where you're trying to put your image and whether there are other elements on the page, but remember the KISS rule: Keep It Super Simple.

Just like all elements, you start by giving your image a class or id, then manipulate it with your stylesheet.

Here's a very brief, but practical explanation from Stack Overflow (which I highly recommend referring to)


Hope this helps! -Jake

Faruk Suljagic
Faruk Suljagic
300 Points

Thank you Jacob. I will try it out as soon as i get home.