2008/10/9 iain duncan <[EMAIL PROTECTED]>: > > I can't find a good way to have both: > A) change something in one place only > B) have middle content appear before floated columns in the document > structure > > Some folks get pretty excited about B, quoting SEO needs and also that > it's nice for screen readers not to have to read the sidebars first etc. > However, I haven't seen anything that allows us to have the main content > area resize itself gracefully while only changing the width of the > parent page container. That is possible if the sidebars are first though > because then one can use the floated-columns margined-middle technique > without lots of jiggery pokery. I dunno which compromise seems best for > coder use.
For the developer, clearly having A) is more important. I have had the same problem with various sites, and I've abandoned the associated accessibilty benefits of B). A "skip to content" link is easy enough to implement, and while not solving the problem completely, it does mitigate the effects somewhat. Also, many of my current sites use Javascript in ways that throw away other accessibilty issues, forcing different HTML representations (layout templates, not resources) for screen-readers anyway. > The best method for that that I've seen using the jiggery pokery is that > used by the Drupal Zen theme, ( technique called "body politic" which I > believe comes originally from the positioniseverything site). This works > great, but the way you size your columns and middle content is quite > confusing to a new user and requires a bunch of interlocking arithmetic > on widths between the sidebars and the page and the main content. I'm a big fan of declaring the main layout dimensions once and only once, preferably all in the same section of the file, so I would go with A. Adding a "skip to content link" to the main TG template might be an acceptable compromise. -- Simon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
