Ticket #245 (closed defect: duplicate)

Opened 5 months ago

Last modified 5 months ago

Using rectangular thumbs with mixed orientation breaks layout

Reported by: mrzippy Owned by:
Priority: high Milestone: 1.0
Component: Theme Version: 1.0-RC1
Severity: normal Keywords:
Cc:

Description

Due to the float used on the HTML list that thumbs are contained in the layout is broken when rectangular thumbs with mixed orientation is used.

A partial solution is a simple change to the CSS which maintains the layout without a float.

This works in Safari / Firefox / IE6 but NOT in IE6/IE7 so needs some work.

/plog-content/themes/default/gallery.css

CSS changes:

.slides li
----------
display: inline; (from block)
remove float: left;

.tag 
-----
add display: inline-block;
add vertical-align: top;

Before: http://climaterealists.com/test/before.png

After: http://climaterealists.com/test/after.png

Change History

comment:1 Changed 5 months ago by mrzippy

This works in Safari / Firefox / IE6 but NOT in IE6/IE7 so needs some work.

should read

This works in Safari / Firefox / IE8 but NOT in IE6/IE7 so needs some work.

comment:2 Changed 5 months ago by mrzippy

URL for code:

My Fix code (not ie6/i67)  http://climaterealists.com/test/index.php

RC1 Code  http://climaterealists.com/test/index.php

This is static testing code not a live site.

comment:3 Changed 5 months ago by mrzippy

Having a bad day!

URL for code:

My Fix code (not ie6/i67)  http://climaterealists.com/test/index.php

RC1 Code  http://climaterealists.com/test/index2.php

comment:4 Changed 5 months ago by mrzippy

  • Priority changed from normal to high

comment:5 Changed 5 months ago by mrzippy

I have spent more time on this today and I can't find a way to get IE6/IE7 to display this correctly.

Only solution I can see is to change the layout code by specifying number of thumbs per row.

Then clearing floats per row.

As I said before you CANNOT float images to the left if they are different heights, it will not work correctly.

comment:6 Changed 5 months ago by mrzippy

I have just created a test site using a clean install of Plogger 1.0 RC1

All I have done is change the thumbnail setting from "square" to "longest side"

If you stretch / shrink the screen width you will see the issue with the CSS.

 http://mrzippy.org.uk/sarah/

comment:7 Changed 5 months ago by sidtheduck

  • Status changed from new to closed
  • Resolution set to duplicate

Closing ticket as it's a duplicate to ticket #242. Will respond to that ticket directly.

Note: See TracTickets for help on using tickets.