Hi,
current browsers don't support "display: inline-block;" and "display:
inline-table;", resp. Thus I'm using "float: left;" to achieve a similar
effect.
Problem is that if a row of elements uses this kind of block floating, they
don't wrap to build a whole new line but instead get "hooked" at the
left-most element being larger than the element right beside this
"overflowing" element.
On my website I'm making heavy use of this property. To see the effect, see
http://www.sportbootcharter.com/Spor...?cont=Search.a
spx%3Fps%3d1
and resize page. (Works only for IE at the moment as ASP.NET renders pages
differently for IE, I'll fix this later...)
It looks quite jagged this way. Can someone please enlighten on how to force
kind of a line-feed?
Also, will "display: inline-block;" and "display: inline-table;" enforce
this kind of a thorough line-feed? (I think so, just want to reinsure...)
Sketch of the current situation (all elements style="float: left;"):
|---| |---| |---|
| | | 2 | | 3 |
| 1 | |---| |---|
| |
|---| |---| |---|
| 4 | | 5 |
|---| |---|
Sketch of the desired situation(all elements style="display:
inline-table;"):
|---| |---| |---|
| | | 2 | | 3 |
| 1 | |---| |---|
| |
|---|
|---| |---|
| 4 | | 5 |
|---| |---|
TIA,
Axel Dahmen