debugging - CSS Image Gallery Float BUG -


It's new, I'm having trouble with an archive page. It looks like a fairly straight forward deployment Image Image Gallery ... but due to some reason there is randomly a bunch of line breaks during the device. I thought it might be a problem with Cufon or IE.JS etc., but I disabled all JS and it still got bugs out.

The code takes a while to post, and I'm not doing anything on some of the unnecessary divs and clear corrections. After I understand it, I will post and organize a proper report.

Since some titles have more time than others, some line-breaks and thus deep in the lamp Make them. Floats will then "hang on" these long divisions, this is not a bug copy, just how temporary it works.

  --- --- --- | 1 | | 2 | | 3 | --- | | --- --- --- | 4 | --- --- | 5 | ---  

The best way to avoid this problem is to give each div a fixed height.

Alternatively, you can clear the first part of each line by adding an appropriate class to each first / next / seventh / etc div.

EDIT: This is how it is started to expand: Each div tries to fit on the same line as the last div, leaving it as far as possible. If there is no space left on the line, it will be pushed first and then left. In the example given above, 4 will be pushed down to 3, then it will be left, as far as it can be left, killing 2 and 2. 5 is pushed down to 4 It can be left.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -