Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-doc-dev] Cleaned up use of <font color=...


I went through all of the isv doc and attempted to remove all places where we were using "<font color='#4444CC'>" to set the color for <pre> formatted code. This way of doing it was a major source of html badness in our files, and in some cases caused bogus appearance in the result (wrong color used, follow on paragraph got colored, etc.).

However, assuming that we like the old "pre-formatted text is colored blue" look, we now need to modify the CSS to support it. My questions are:
1) Which book.css should the change live in?
2) What is the correct version of the change? My simple hack...

pre {
        color: #4444CC;
        margin-left: 15pt;
}

... looked pretty good for the cases I looked at, but I'm CSS noob, so I'd be happy to hear a better answer.

McQ.

Back to the top