Improved the knotes print stylesheet and worked-around an MSIE centering bug
28-October-2005
permalink email thisI've been wanting to do something about the print stylesheet in knotes or some time now. It's been functional and accessible, but far from pretty. But print styling is tough work, tricky to judge and hard to test.
Early this morning I started work on the issue, and after 5 hours or so it looked OK I think: I'm never confident about accessibility issues in print styling. But then it took another 2 hours fiddling to test it in Internet blinking Explorer, which did not want to purge the cached style. If you already have the stylesheet cached you may not see the changes except in my re-skinning testbed at elearning2.0. I'll step up the version numbering of the stylesheet across the product (to force the changes past caches) when I get a chance over the weekend. I think the new print style is quite usable: pretty but readable, stylish but accessible, totally generic.
I even did a bit of experimenting with using after: CSS2 to write in the urls for links and cites, but ran into weird problems so rolled that back. I'll have a look at offering a javascript/dom script to turn urls into footnotes when I've finished styling comments for screen and print (see my css/print tag for links).
I also got round to 'fixing' the problem whereby Internet Explorer would ignore the #wrapper{margin:0 auto;} rule and fail to center the main content area of the blogs. I didn't have time to chase down a real solution so I set the text-align of the body element to center, and the text-align of the wrapper div to left. Since in knotes ( and MT2 ) markup, the wrapper div is the only important child of body, this does the job just fine. In fact I'm perplexed ( and worried ) that I have not seen that workaround used before. Am I missing something I wonder? ...sigh : CSS really is a dark art :o)
Linking and trackbacks
When linking to this weblog entry, please use the 'permalink', which is http://www.knownet.com/Members/mmalloch/blog/entries/4339396534
What is this?
Search this weblog
Categories
- Announcement (3)
- Progress Report (3)
- blogging/api (1)
- blogging/api/clients (1)
- blogging/api/clients/osx/ (1)
- bugs/knotes/weblogs (1)
- dev/knotes (13)
- dev/knotes/anti-spam (3)
- dev/knotes/discussion (1)
- dev/knotes/distribution (5)
- dev/knotes/performance (1)
- dev/knotes/syndication (1)
- dev/knotes/weblogs/features (4)
- development/knotes (5)
- development/knotes/discussion/ (1)
- development/knotes/discussion/features (1)
- development/knotes/skinning (1)
- development/knotes/weblogs/ (1)
- development/knotes/weblogs/features (1)
- development/plone (1)
- kind=bookmark (1)
- kind=case-study (1)
- kind=documentation (1)
- kind=documentation/rough (7)
- kind=how-to (3)
- kind=progress report (23)
- kind=rough notes (2)
- middleware2.0 (1)
- social software (1)
- structured blogging (2)
Archives
- November 2004 (12)
- December 2004 (5)
- January 2005 (11)
- February 2005 (1)
- March 2005 (1)
- June 2005 (9)
- July 2005 (7)
- August 2005 (2)
- September 2005 (14)
- October 2005 (4)
- November 2005 (4)
- February 2006 (1)
- March 2006 (10)
- June 2006 (3)
Recent Entries
- A del.icio.us API python script for co-ordinating multiple accounts
- Knotes version 0.85 is available
- KNotes 0.85 is about to be released
- More progress on microformats in knotes blog entries
- Import / export .zexp a knotes weblog across portals
- Microformat for 'event' working in tests
- Small known styling glitch in firefox for Windows ( webding font for internal navigation )
- How to do a bit of skinning: adding special external-link handling in the NGRF's knotes blogs
- A case study of medium-scale CMF-wise copy and paste to merge and move knotes weblogs - it just works!
- knotes on source-forge is up-to-date at version 0.8 and seems to install and work well
- We're merging recent improvements into knotes CVS this week
- You can now add 'real' creative commons licensing in knotes blogs
- Announcing core improvements to knotes!
- Added icons / links for help in the 'what is this?' and 'contribute' sidebars
- The javascript 'pseudo-window' editing is on the way out of KNotes!
Recent Discussion
- Sorry, we've had to delay the release until Friday June 9 2006-06-05 11:50:59.40 Mike Malloch
- knotes CVS is now up-to-date 2006-03-17 17:54:15.59 Mike Malloch
- I got that 2006-03-03 16:34:07.37 alharris
- another level 2 reply which may not agree with the first 2005-09-26 16:49:57.43 Mike Malloch
- test a level 2 reply for new discussion viewing 2005-09-26 16:48:58.25 Mike Malloch
- testing new discussion views sept 05 2005-09-26 16:47:08.96 Mike Malloch
Recent Trackbacks
- Yup! We're always doing 'other' other things - and that context is important. (The Wales-Wide Web 2006-06-26 12:39:41.47 )
- More progress on microformats in knotes blog entries (KNotations 2006-03-25 07:12:39.32 )
- Import / export .zexp a knotes weblog across portals (KNotations 2006-03-25 06:58:08.34 )
- Back posting after a binge of software development : knotes is now in mature beta! (elearning2.0 2006-03-21 09:07:05.56 )
- I've added 'real' creative-commons license embedding to this weblog (OpenDock Project Weblog 2006-03-08 10:36:37.05 )
- making progress on knotes' discussion system usability (KNotations 2005-11-22 06:46:11.34 )
Links
- Zope.org
- Plone.org
- The Wales-Wide Web
- A List Apart
- Online communities using knotes / knownet
- Planet Zope
About
Mike Malloch and Steve Tufail are KnowNet's development team working on knotes. They will be using this blog for technical annotations and notes about the development and testing of knotes and other KnowNet products.
Creative Commons License
Attribution-ShareAlike 2.5 Creative Commons License.
Stats for this blog
- 84 weblog entries
- 1 authors
- 30 categories
- 28 external links
- 7 file attachments
- 14 comments / discussion
- Last entry: 23-June-2006 12:58:08 by Mike Malloch; A del.icio.us API python script for co-ordinating multiple accounts
- Last discussion: 05-June-2006 11:50:59 by Mike Malloch; Sorry, we've had to delay the release until Friday June 9
