# Image can't be settled on the left

**URL:** <https://talk.jekyllrb.com/t/image-cant-be-settled-on-the-left/7225>\
**Category:** Help\
**Created:** [April 11, 2022, 7:40pm UTC](https://talk.jekyllrb.com/t/image-cant-be-settled-on-the-left/7225 "2022-04-11T19:40:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adrian6](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@Adrian6](https://talk.jekyllrb.com/u/Adrian6)\
**Post date:** [April 11, 2022, 7:40pm UTC](https://talk.jekyllrb.com/t/image-cant-be-settled-on-the-left/7225/1 "2022-04-11T19:40:16Z")

</div>

Hi,

I try to add photo in About area in jekyll no-style-please theme and put it on the left. Code below:

```auto
---
layout: page
title: About
category: About
image: /assets/images/pt.jpg
---

![]({{page.image | relative_url}}){: style="float: left"; margin-right: 10em; height="40%" width="40%"}

```

The photo was added, and resized but the picture is still centre not on the left. Any idea?

 ![Przechwytywanie](https://canada1.discourse-cdn.com/flex030/uploads/jekyllrb/original/2X/9/9e212b877585f602a03ad7d434c7165b7c9133b4.jpeg)

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [April 11, 2022, 11:10pm UTC](https://talk.jekyllrb.com/t/image-cant-be-settled-on-the-left/7225/2 "2022-04-11T23:10:41Z")

</div>

use the Inspector in Chrome (or whatever browser you use) to see what styles are being used, something else may be setting it like that.

A link to the live site and repo would help.

---

<div class="post-metadata">

**Author:** ![Adrian6](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@Adrian6](https://talk.jekyllrb.com/u/Adrian6)\
**Post date:** [April 12, 2022, 7:52pm UTC](https://talk.jekyllrb.com/t/image-cant-be-settled-on-the-left/7225/3 "2022-04-12T19:52:14Z")

</div>

Thanks a lot for tip with inspector mode. In my line - ```  
{: style=“float: left”; margin-right the comma was the issue. When I delete it everything works.

Im appreciate.
