# Layout - again!

**URL:** <https://forum.code.org/t/layout-again/38892>\
**Category:** CS Discoveries\
**Tags:** csd-unit-3\
**Created:** [January 12, 2024, 1:06pm UTC](https://forum.code.org/t/layout-again/38892 "2024-01-12T13:06:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GordonBrune](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/gordonbrune/32/4752_2.png) [@GordonBrune](https://forum.code.org/u/GordonBrune)\
**Post date:** [January 12, 2024, 1:06pm UTC](https://forum.code.org/t/layout-again/38892/1 "2024-01-12T13:06:37Z")

</div>

Student wants the layout of the images to be at the top right, aligned along the top with the text. We tried the float top CSS but didn’t work. Ideas??  
[https://codeprojects.org/projects/weblab/71FHbNqnVDXYg4W3q\_sbZOEnvjYfEUpv7se1hXyLwpc](https://codeprojects.org/projects/weblab/71FHbNqnVDXYg4W3q_sbZOEnvjYfEUpv7se1hXyLwpc)

---

<div class="post-metadata">

**Author:** ![melynn](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/melynn/32/4925_2.png) [@melynn](https://forum.code.org/u/melynn)\
**Post date:** [January 12, 2024, 1:34pm UTC](https://forum.code.org/t/layout-again/38892/2 "2024-01-12T13:34:59Z")

</div>

Hi @GordonBrune,

Ah yes - my students will often ask for layouts like this where the image is directly aligned with the related text. There is more than one way to accomplish this. It isn’t in the curriculum as the intent of the HTML unit in CSD is to just introduce web pages and styling to students. I would suggest one of two ways:

- The first is to use a 2 column [table](https://www.w3schools.com/html/html_tables.asp). It is not the best way to layout a page but it is a useful skill for kids to learn if they are motivated and a table is easy to understand.
- Another tool is to basically use a table format but use [DIVs](https://www.w3schools.com/howto/howto_css_images_side_by_side.asp) to align the blocks of content.

There are other ways but these two are probably the most straightforward.

Good luck!  
~Michelle
