Writing an article is often a balancing act between presenting the information you need to convey, and describing other interesting, but non-essential aspects of the topic. In the past when I have found myself in this situation, I have resorted to using html tables to achieve a sidebar. While this works, it is kludgy to set up.
Recently member knockNrod
submitted a suggestion for a new CodeProject sidebar css class. This now has been incorporated into the official CodeProject css stylesheet and is available using <div class="sidebar-right">
and <div class="sidebar-left">
. I want to thank knockNrod for sharing this great idea.
Have a favorite tip for writing CodeProject articles? Write a tip and share with everyone!
I attended St. Michael's College of the University of Toronto, with the intention of becoming a priest. A friend in the University's Computer Science Department got me interested in programming, and I have been hooked ever since.
Recently, I have moved to Los Angeles where I am doing consulting and development work.
For consulting and custom software development, please see www.hdsoft.org