html - Thumbnail gallery height problem -
I have a gallery of thumbnails of YouTube videos with this title.
I have the problem that when they swim, they do not see me, because this is the height variable. I have read a blog post a few weeks ago, which is solving the problem. , But I can not find it anywhere.
So I'm actually asking for that blog post or about content:)
- The thumbnail height varies, I set it to a certain height can not do.
- The number of thumbs per line can be different I can not set a fixed number.
- No javascript fixes CSS only
Thanks
Instead of temporary divs, you can set your thumbnails (Which is actually more accurately accurate ..)
For example:
& lt; Style type = "text / css" & gt; Ul {catalog-type: none; } Li {Display: Inline; } Li img {vertical-align: top; Margin-left: 5px; Padding-down: 5px; } & Lt; / Style & gt; & Lt; Div style = "width: 280" & gt; & Lt; Ul & gt; & Lt; Li & gt; & Lt; Img src = "th1.gif" /> & lt; / Li & gt; & Lt; Li & gt; & Lt; Img src = "th2.gif" /> & lt; / Li & gt; & Lt; Li & gt; & Lt; Img src = "th3.gif" /> & lt; / Li & gt; & Lt; Li & gt; & Lt; Img src = "th1.gif" /> & lt; / Li & gt; & Lt; Li & gt; & Lt; Img src = "th2.gif" /> & lt; / Li & gt; & Lt; Li & gt; & Lt; Img src = "th3.gif" /> & lt; / Li & gt; & Lt; Li & gt; & Lt; Img src = "th1.gif" /> & lt; / Li & gt; & Lt; Li & gt; & Lt; Img src = "th2.gif" /> & lt; / Li & gt; & Lt; Li & gt; & Lt; Img src = "th3.gif" /> & lt; / Li & gt; & Lt; Li & gt; & Lt; Img src = "th1.gif" /> & lt; / Li & gt; & Lt; Li & gt; & Lt; Img src = "th2.gif" /> & lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt; For more reference, go to
Comments
Post a Comment