# Doubt - Assessment wanted for Marking up a letter

**URL:** <https://discourse.mozilla.org/t/doubt-assessment-wanted-for-marking-up-a-letter/58362>\
**Category:** Learn\
**Created:** [April 20, 2020, 1:57pm UTC](https://discourse.mozilla.org/t/doubt-assessment-wanted-for-marking-up-a-letter/58362 "2020-04-20T13:57:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edi](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/edi/32/36449_2.png) [@Edi](https://discourse.mozilla.org/u/Edi)\
**Post date:** [April 20, 2020, 1:57pm UTC](https://discourse.mozilla.org/t/doubt-assessment-wanted-for-marking-up-a-letter/58362/1 "2020-04-20T13:57:23Z")

</div>

Hello, I have a doubt in marking up a letter, which is: the first date in the letter is supposed to be inside a tag besides \<time\>? I had to add display:block in sender-column class to right align properly. I also appreciate any additional feedback.

Here is my code: [https://codepen.io/EdiJr/pen/JjYRNYo](https://codepen.io/EdiJr/pen/JjYRNYo)

---

<div class="post-metadata">

**Author:** ![chrisdavidmills](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/chrisdavidmills/32/21688_2.png) [@chrisdavidmills](https://discourse.mozilla.org/u/chrisdavidmills)\
**Post date:** [April 21, 2020, 11:55am UTC](https://discourse.mozilla.org/t/doubt-assessment-wanted-for-marking-up-a-letter/58362/2 "2020-04-21T11:55:35Z")

</div>

Hi @Edi! Welcome to our community, and thanks for sending in your code!

Your work is really good — congratulations on some great work. I could not find anything wrong with it, apart from the small issue you talk about.

The reason you had to do this is because `<time>` is an inline element by default, which among other things means that it won’t with positioning type styles like `text-align`. Block-level elements do accept those styles , hence `display:block` fixing it.

But also, `<time>` is really supposed to be nested inside a paragraph in a context such as a letter, which is block-level by default, so I think the best fix for this particular case would be to do:

```auto
<p class="sender-column"><time datetime="2016-01-20">20 January 2016</time></p>

```

Then you don’t need the extra `display:block` declaration.

---

<div class="post-metadata">

**Author:** ![Edi](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/edi/32/36449_2.png) [@Edi](https://discourse.mozilla.org/u/Edi)\
**Post date:** [April 21, 2020, 9:02pm UTC](https://discourse.mozilla.org/t/doubt-assessment-wanted-for-marking-up-a-letter/58362/3 "2020-04-21T21:02:52Z")

</div>

Thanks for your warm welcome, I also appreciate your help!
