0 votes
96 views
in HTML by (2.2k points)
edited
How do you add spacing between the columns in a 3-column layout?

1 Answer

0 votes
by (98.9k points)
edited

To add spacing between the columns, you can use CSS margin or padding properties. Here's an example:

 

.column {
  margin-right: 10px; /* Adds spacing between columns */
}

 

In this example, the CSS code adds a margin-right of 10 pixels to each column, creating spacing between them. Adjust the value as needed for the desired amount of spacing.

Related questions

0 votes
1 answer 81 views
0 votes
1 answer 105 views
0 votes
1 answer 150 views
0 votes
1 answer 100 views
0 votes
1 answer 72 views
0 votes
1 answer 111 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

557 users

...