Product list numbering

A place to discuss and receive support for the Web Auction application.

Postby bwilson » Fri Sep 21, 2007 8:05 am

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?
bwilson
 
Posts: 10
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Sep 21, 2007 9:21 am

Looks fine in Safari and Firefox on mac. Which browser are you using?
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby bwilson » Fri Sep 21, 2007 10:30 am

IE7 - Windows

Firefox - Windows looks fine too.

I'll have to wait to check it later in IE6.
bwilson
 
Posts: 10
Joined: Wed Dec 31, 1969 5:00 pm

Postby bwilson » Fri Sep 21, 2007 11:59 am

IE6 - Windows also renders the numbers incorrectly.
bwilson
 
Posts: 10
Joined: Wed Dec 31, 1969 5:00 pm

Postby bwilson » Fri Sep 21, 2007 12:32 pm

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
bwilson
 
Posts: 10
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Sep 21, 2007 1:11 pm

Thanks for posting the fix, Bob.
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 19 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved