Page 1 of 1

PostPosted: Fri Sep 21, 2007 8:05 am
by bwilson
For some strange reason, when there are more than 9 entries to be displayed in my product list page, the tenth item has a number O. beside it, the eleventh has a 1. beside it, etc.

You can see what I mean here
http://www.4charities.ca

Is the item number being truncated somehow?

PostPosted: Fri Sep 21, 2007 9:21 am
by shannah
Looks fine in Safari and Firefox on mac. Which browser are you using?

PostPosted: Fri Sep 21, 2007 10:30 am
by bwilson
IE7 - Windows

Firefox - Windows looks fine too.

I'll have to wait to check it later in IE6.

PostPosted: Fri Sep 21, 2007 11:59 am
by bwilson
IE6 - Windows also renders the numbers incorrectly.

PostPosted: Fri Sep 21, 2007 12:32 pm
by bwilson
Adding the following to the plone.css file corrests the problem. Because of the default left padding / left margin used by the different browsers varies, IE was actually displaying the number partially outside of its' container. Hence the missing digit.

ol#product-list {
list-style-position: outside;
list-style-type: decimal;
margin-left: 2.5em;
padding-left: 2.5em;
}

Hope this helps someone.

Bob

PostPosted: Fri Sep 21, 2007 1:11 pm
by shannah
Thanks for posting the fix, Bob.