Saturday, April 30, 2011

Cascading Style Sheets (CSS)

It isn't fair to hold other people more accountable than I hold myself. (Larsen and Hegarty, Believing in Myself, 6 April)

******

I'm about ready to extract the internal cascading style sheet (CSS) I'm working on from the HTML of my test page. The next steps will be to upload the CSS to the genealogy website and then write some HTML code to test it.

I'm reading about how to use CSS to print a web page without all of the graphics and formatting seen on the screen. That's another interesting project to work on. There's always something to learn, if one is up for the challenge.

Mr. Dickie
30/Apr/2011 7:34

Friday, April 29, 2011

Horizontal Rules in Color

Obstinacy and heat in sticking to one's opinions is the surest proof of stupidity. Is there anything so cock-sure, so immovable, so disdainful, so contemplative, so solemn and serious as an ass? (Michel de Montaigne in The Book Of Choices by Mike Magee, M.D., p. 231)

******

I spent two or three days trying to understand how to draw horizontal rules in red, blue and black using Cascading Style Sheets (CSS). Right now I have at least a half dozen books available from my own collection and the library. None of them described how to do this. I also tried looking at some of the sample code available online. Most of the examples were quite complicated and the ones I tried didn't work. This morning I finally succeeded. I used information from two different sections of a book by Elizabeth Castro. She didn't actually illustrate how to do it.

Here's the Cascading Style Sheet (CSS) Code.

p {color: black}
p.hr {border-top: 5px; border-style: solid; padding: 0px;}
p#black {color:black}
p#red {color:red}
p#blue {color:blue}

Here's the HTML Code (enclose each line in <>)

p class="hr" id="red"
p class="hr" id="black"
p class="hr" id="blue"

Mr. Dickie
29/Apr/2011 9:37

Thursday, April 28, 2011

Knowledge and Wisdom

Knowledge is proud that he has learned so much; wisdom is humble that he knows no more. (William Cowper in Chapter-By-Chapter Bible Commentary by Warren W. Wiersbe, p. 297)

Anyone who stops learning is old whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young. (Henry Ford in The Book Of Choices by Mike Magee, M.D., p. 236)

The proud man has a mirror in which he sees himself; the humble man has a window through which he sees others. (Warren W. Wiersbe, Chapter-By-Chapter Bible Commentary, p. 275-76)

What comes with age and wisdom is acceptance of our imperfections. (Karen Casey and Martha Vanceburg, The Promise Of A New Day, 1 April)

******

Yesterday I experimented with writing Cascading Style Sheet (CSS) rules for pre-formatted text. The idea was to control background color, text color, text-size, and font-family for text output by the Descend program I used for many years. I seem to be making progress. I got everything to work.

Mr. Dickie
28/Apr/2011 8:17

Wednesday, April 27, 2011

Unnecessary Baggage

... most people carry a large amount of unnecessary baggage, both mental and emotional throughout their lives. (Eckhart Tolle, A New Earth, p. 140)

******

Melva and I went for a four-lap walk at Schrom Park yesterday afternoon. The temperature got up to 87 degrees, the hottest day of the year so far. Melva spotted a four-foot long black snake on the side of a tree about twenty feet from the trail.

I continued to work on my Cascading Style Sheet project. I finished installing the Table of Contents code and examples of all of the available graphics in my test page. Next I'll attempt to install font controls with some preformatted text.

Mr. Dickie
27/Apr/2011 8:39

Tuesday, April 26, 2011

Good Old Days

[On the voyage of life] ... one must have fixed points from which to take a bearing. (Selwyn Hughes, Every Day Light, Day 83)

The past can be a heavy burden we carry around in our minds. (after Eckhart Tolle, A New Earth, p. 139)

Yesterdays have no value except as experience, to be used in making today and the future more fruitful. (One Day At A Time In Al-Anon, 13 April)

The good old days are often a combination of a bad memory and a good imagination. (Warren W. Wiersbe, Chapter-By-Chapter Bible Commentary, p. 293)

We are not only possessors of the present, we are also the trustees of the future. (after William Barclay, The Letters to Timothy, Titus and Philemon, p. 161)

******

Nothing to write home about today.

Mr. Dickie
26/Apr/2011 8:22

Monday, April 25, 2011

Awareness

There is a proper balance between not asking enough of oneself and asking or expecting too much. (May Sarton in The Book Of Choices by Mike Magee, M.D., p. 187)

And true humility comes when we face ourselves and see our weakness, our selfishness, our failures in work and in personal relationships and in achievement. (William Barclay, The Letters to the Ephesians, p. 136)

Awareness is the greatest agent for change. (Eckhart Tolle, A New Earth, p. 99)
25/Apr/2011 7:49

Sunday, April 24, 2011

Too Much Information (TMI)

We're drowning in information and starving for knowledge.
(Rutherford D. Rogers in The Book Of Choices by Mike Magee, M.D., p. 230)
24/Apr/2011 8:22