Ask coding questions

← Back to all posts
HTML Web site
lsambrook (286)

Hey,
I made an HTML Meme website and I would like to know how can I put different images in a row and next to each other ? This is my repl :
https://repl.it/talk/share/MEME-Website/14620

Answered by Zavexeon (422) [earned 5 cycles]
View Answer
Commentshotnewtop
Zavexeon (422)

Make a table?

<table>
    <tr>
         <!--your images here-->
    </tr>
</table>

More on tables here: https://www.w3schools.com/html/html_tables.asp

lsambrook (286)

@Zavexeon Thanks for the reply, i will check the link right now and i will also try using that code.

lsambrook (286)

@Zavexeon I tried it an it's works thank you very much, i have now updated my website, if you want to see it click on th link above.

mwilki7 (368)

Several marquees in a row is never a bad idea
Can never use too many marquees

mkhoi (200)

Use transform: translate(x, y) property in CSS?

.ur_image {
  transform: translate(x , y) /* Moves the image to the correspoding X, Y on the screen */
}

Hope this helps

lsambrook (286)

@mkhoi Thanks for the reply ! I have never tried doing some CSS before so i will try to use this language for new experience. I will talk back to you if it works thanks !

mkhoi (200)

@lsambrook Make me correct if my code works ok? And you could find more about that in the internet if you like