| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Apr 2004
Posts: 1
|
CSS inline/block combination?
Is there a way to put boxes (like a div or other container) on a page that flow like an img does? I looked at the CSS display:inline-block property, but apperently it only works in Opera. I need a block that I can set a width and height to and put more than one on a line. I am making a page with thumbnails of various widths and heights. I want to fit as many thumbnails horizontally on the page as the window size will allow, while keeping all the images in line with eachother vertically. My idea was to center each image in a 150x150 box (so they all line up vertically). Then put all the boxes in a row and let the browser wrap them as needed. Is there a way I can do this? I've looked into a lot of differnet options, but can't find anything yet. If you don't think it's possible, let me know too. Thanks, Nilbus |
|
|
|
![]() |