#111011
Markov
Keymaster

Hi,

I would suggest you to use a DIV tag as a container and place images and radio buttons inside DIV tags with flex layout or Grid layout.

Ex:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Rows and Columns Layout</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="column">Column 1</div>
            <div class="column">Column 2</div>
            <div class="column">Column 3</div>
        </div>
        <div class="row">
            <div class="column">Column 1</div>
            <div class="column">Column 2</div>
        </div>
        <div class="row">
            <div class="column">Column 1</div>
        </div>
    </div>
</body>
</html>

CSS

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.column {
    flex: 1;
    padding: 15px;
    background-color: #ddd;
    border: 1px solid #ccc;
    margin: 5px;
    text-align: center;
}

/* Optional: Media queries for responsive design */
@media (max-width: 768px) {
    .column {
        flex: 100%;
    }
}

Best regards,
Markov

Smart UI Team
https://www.htmlelements.com/