php - List Items appear correctly in one row but not in some others -


i having weird , strange problem , not sure causing it. can understand once have seen it. here link:

http://daccordinc.com/daccor/?wpsc_product_category=guayabera&paged=3

(select grid view clicking on small icon under heading) can see first row in grid correctly displays 5 items in list. second grid displays 5th element , other 4 elements in third row. grid breaks down on pages.

what makes problem stranger products , css classes pulled database table using , same products. if first row displays correctly others should have same css. make matters worse problem appears in pages of grid view , others display fine. wordpress site.

sorry don't know causing problem , have tried inspect element etc. can't post code. please take @ link.

regards ahmar.

the problem because of float property , fact of elements have different height. since elements have set width , using display:inline-block; need remove float , align them vertically.

try adding css

.wpsc_default_product_list.grid .default_product_display {     float: none;     vertical-align: top; } 

Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -