0 votes
134 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 111 views
0 votes
1 answer 141 views
0 votes
1 answer 213 views
0 votes
1 answer 142 views
0 votes
1 answer 102 views
0 votes
1 answer 140 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

572 users

...