On Wed, Dec 10, 2008, Dave Dash <[EMAIL PROTECTED]> wrote: >I'm curious at what you're trying to ultimately do. > >On one of the projects I work on, we put a class on a encapsulating >div that defines future behavior: > ><div class="no_content"> ><div "content"> ></div> ></div> > >and then we can do a special style for > >.no_content .content {display: none} > >or whatever we end up deciding to do differently.
That would be a nicer way to do it, but I haven't that option. I have to work with a given <div> structure and stylesheets. In our pages, every page must have one of a set of stylesheets controlling whether or not space is made for columns. The particular stylesheet is chosen according to whether a certain <div> is empty or not. Daniele --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---