[css-d] Wrapping in thumbnail gallery

2006-05-18 Thread Lassi Heikkinen
Hey,

This might have been explained hundreds of times but I didn't manage to 
find a solution so if you'll pardon me...

I found a nice CSS thumbnail gallery which I have converted to own 
styles: http://www.pulu.org/temp/cssgal/thumbgal.html

The rows are sorted according to window's size, so by resizing the 
window the images are changing rows.

What I want is that each row should always contain same number of images 
(excluding the last one) in all situations. For example in my current 
setup I have 5 images in the first row, 2 in the second, 5 in the third, 
1 in the fourth and 1 in the fifth. When it should be 5-5-4. The width 
will be static and height varies.

clear: both; after each row would be a semi-good solution but then I 
would lose the flexibility.


Thanks in advance,
Lassi Heikkinen
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] PNG alpha transparency bug in Firefox

2006-05-17 Thread Lassi Heikkinen
Hi,

I'm not actually sure what's the problem but here is the description, 
maybe someone knows what's going on. I tried to make a better example 
page but couldn't replicate the bug so I must present the whole web page.

http://www.pulu.org/transbug/ministri.php?j=weltsu

SEURAAVAT KEIKAT in the left column has a PNG alpha-channel 
background-image. The newest Opera and Firefox support that so I use:

html[xmlns] .keikkalistaContainer {background-image: 
url('../layout_images/pieni.png');} /* not for IE */

For IE I use:




It worked fine as far as I noticed the strange behaviour in Firefox 
(1.5.0.3). Leave the URL I gave in background for a few minutes and the 
background-image has disappeared (well it doesn't always do that...) 
Scroll up and down and it has appeared back. Opera works well, so does 
IE (but it uses different codes). I'm not sure but it seems like the bug 
is only in that specific page, not in 
http://www.pulu.org/transbug/index.php for example.

Another issue is the profile background (middle part, blue bordered) 
place in IE6 (not in 5.5 for example), it's aligned to left for some 
reason. Also the profile texts get lost after a while (the page must be 
in background) and can be get back by painting with mouse or scrolling 
down the page.


Thanks for help,
Lassi Heikkinen
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/