Wednesday, December 22, 2004

Site Design

There's a lot of work to do to prepare for the upcoming site re-organization, not to mention all the work required to complete the site re-org. I spent a little bit of today modifying the site style so that two-line sub-items on the left hand navigation menu are possible. The previous style was ok for single-line entries in the navigation, but we have a few that are likely to wrap.

The previous style caused problems because the same amount of space was between soft returns (wrapped lines) as was between hard returns (br tags). Everything kind of ran together. I modified the style so that the links in the menu are treated as block items, have a smaller line-height than before, and a little space above and below to set each individual link off from it's neighbor. I also used display:none for the br tags so no extra space was present (I kept those in for browsers that don't handle display:block ... thus hiding them using styles otherwise).