Techno~
2008-Feb-29 00:08 UTC
Ordered list in ie6 not incrementing when styled with display:none
Hi, The title pretty much sums up the problem. I have an ordered list on my page and each LI is styled inline with display:none. A body onLoad function then grabs these list item by class name and using the scriptaculous Effect.Appear() function, reveals them one by one. The problem is that in ie6 (target browser as this in intranet app) the numbered items in the list are all 1. they are not incrementing. I understand that using visibilty:hidden should be a workaround but this doesn''t actually hide the list items in the first instance. Is this a known problem/issue? Are there workarounds? Cheers, Techno~ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Techno~
2008-Feb-29 01:35 UTC
Re: Ordered list in ie6 not incrementing when styled with display:none
Ok, I have found the solution - need to add: display: list-item; to the css definition for my OL LI On Feb 29, 1:08 am, "Techno~" <stu...-oeUMWCu+3gg7VdE/fOJbLw@public.gmane.org> wrote:> Hi, > > The title pretty much sums up the problem. > > I have an ordered list on my page and each LI is styled inline with > display:none. > > A body onLoad function then grabs these list item by class name and > using the scriptaculous Effect.Appear() function, reveals them one by > one. > > The problem is that in ie6 (target browser as this in intranet app) > the numbered items in the list are all 1. they are not incrementing. > > I understand that using visibilty:hidden should be a workaround but > this doesn''t actually hide the list items in the first instance. > > Is this a known problem/issue? Are there workarounds? > > Cheers, > Techno~--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---