Thorsten Mueller wrote: > I would use divs here. Your css to get the li display right > is at least as abstract as anything you would have to do > with the divs. > My rough rule of thumb: If a specialized tag does the job, > use it. Otherwise go to divs right away. They're the general > template tag. If you have a list, use li but not for anything > else. > Another point is, the list item will limit you, what other tags > you can put into them.
I use divs for just about everything, even true tabular data. For what I do, it generally works out really well. The only thing that I've struggled with is how to handle users changing the font size in the browser. It could be that I just have a lot to learn about layouts and CSS, but my lists using divs are all pretty much fixed widths (to get the table effect). So when the font size is increased, text winds up getting cut off. I'm exploring ways to generate CSS dynamically and giving the user buttons to change the font size with instead of using browser keystrokes. It's a little more complicated, but it may work. I may be mistaken, but I believe that if I were using tables, I wouldn't have as much difficulty with font resizing. Peace. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

