Page 1 of 1

Album: Blanks if albums have different line count

Posted: Sun Jul 29, 2007 11:34 am
by b0n3m4n
There seems to be a small display bug in Albums.

It happens when there is an album whose text has more lines than the other albums in the same row.

In the following case there is an album with 3 lines of text followed by two albums with just 2 lines of text.

What happens is that in the albumlist the album below the 3-line-entry is shifted to the right, resulting in a gap in the albumlist:
Image
Apparently if all entries in a row have the same line number, this effect does not occur.

I thought about writing a template using tables instead of s but I don't think that will work.

Any ideas for workarounds to this problem?

Re: Album: Blanks if albums have different line count

Posted: Sun Jul 29, 2007 11:51 am
by tsw
http://www.ruzee.com/blog/2007/05/align ... -with-css/

if you get it working please send a patch :)

Re: Album: Blanks if albums have different line count

Posted: Sun Jul 29, 2007 12:28 pm
by b0n3m4n
That solution looks kind of ugly especially with the limitations to make sure there are no spaces between the elements. That way everyone writing a template needs to make sure there are no spaces between the and the starting of the next element.

The css I need to modify lies in modules/Album/css/stylesheet.css right?

It might take a bit though as I want to finish the website this week and there are more urgent matter apart from this display bug.

Anyway, thanks for the hint, that was exactly what I needed, athough I am a bit disappointed in IE and especially Firefox. Wasn't inline-block in the CSS specs? I thought Firefox was mostly spot-on when it came to specifications. Oh well.