![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This is for a div inwhich thumbnails are displayed each one following the other, breaking off at the end of the line to further on the next line. Now, caption text is not wrapped to a new line, so the space the thumbnail takes can become quite large, with empty spaces left and right of the picture. Is there a way to wrap the text to a new line? Use a DIV that contains the image and caption; float the DIV, not the |
#3
| |||
| |||
|
|
Hallo, I have the following css for thumbnails #duimnagel { float:left; padding:15px 15px 15px 15px; text-align:center; height:120px; } #duimnagel p { text-align:center; } This is for a div inwhich thumbnails are displayed each one following the other, breaking off at the end of the line to further on the next line. Now, caption text is not wrapped to a new line, so the space the thumbnail takes can become quite large, with empty spaces left and right of the picture. Is there a way to wrap the text to a new line? Thanks, Sjef |
![]() |
| Thread Tools | |
| Display Modes | |
| |