Album: Blanks if albums have different line count

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
b0n3m4n

Album: Blanks if albums have different line count

Post 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?
Last edited by b0n3m4n on Sun Jul 29, 2007 11:41 am, edited 1 time in total.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: Album: Blanks if albums have different line count

Post by tsw »

http://www.ruzee.com/blog/2007/05/align ... -with-css/

if you get it working please send a patch :)
b0n3m4n

Re: Album: Blanks if albums have different line count

Post 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.
Last edited by b0n3m4n on Sun Jul 29, 2007 12:30 pm, edited 1 time in total.
Locked

Return to “Modules/Add-Ons”