0 votes
82 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 59 views
0 votes
1 answer 92 views
0 votes
1 answer 131 views
0 votes
1 answer 83 views
0 votes
1 answer 56 views
0 votes
1 answer 92 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

535 users

...