HTML How to Make a Website Styling Web Pages and Navigation Style the Portfolio

Joseph Vincent Trajano
Joseph Vincent Trajano
4,082 Points

Aligning of images with float

why mine won't display in two columns?

gallery {

margin: 0; padding: 0; list-style: none; }

gallery li {

float: left; width: 45%; margin: 2.5%; background-color: #f5f5f5; color: #bdc3c7;
}

1 Answer

Linas Mackonis
Linas Mackonis
6,720 Points

Joseph, if you want to get help, post your html and css to the post. It's hard to spot the mistake without those two.