Saturday, July 24, 2010

Just a test of Tea-Editor

I am using the template and HTML markup available in the Tea-Editor to create a web page from scratch. A strong point is that it suplies the boilerplate for the standard DOCTYPE, I chose the one for XHTML. I did not see a hook for adding style to the page, the way I do it globally, so I set the background color in a style element for the body under head. It does automatically do open and close tags, or closes them if you request it.

I just ran this source in Firefox 3.0 from the editor, and it worked as expected. I just set the text color to green, so, dark-green text on a light-green background. I just added my standard margins. It appears as I expect. So, I changed the background to LightYellow; it came out much lighter than I expected. Yellow is too bright. I Settled on Wheat for the backgroud, with green letters.

Tea has that same color tool that I've seen elsewhere. It can only put hex RGB numbers. It knows nothing of /etc/X11/rgb.txt. Also the color tool uses a palate that does not match the web colors or even the RGB colors wery well. I don't know enough about the different color schemes to describe how it differs, but what I see is that I can't match certian colors I have in mind with it. That is why I have made such an effort with the color names. I like this color scheme, it looks like a print page from old paper, an old newspaper.

And Now for a Change of Topic

The change of topic is indicated by a change to another font, Helvetica inside a division. Let's see if this works. It did, when I remember that the style attribute is font-family not anything else. Also, I found out by doing this that the browser knows about more fonts than the ones you can set in the preferences because Helvetica was not there, but I can use it. that means that there is some additional document that says which fonts the browser supports on web pages. I tend to like sans-serif fonts and have used Ariel.

This brings to mind a visual pun, Guess what the following image plays on:

I Shot the Serif

It is the Bob Marley hit "I Shot the Sheriff".

But by leaving the division and returning to the scope of the body element I have resurected the serif!

Crickets!

A night ago I noticed the single cricket cherping its regular note, tonight an A from my keyboard, to check I wish I had a tuning fork I had for many years, which may have become lost. It sounds like the 880 Hz note that would corespond to the open A-string on the violin. The Crickets sing from mid-July until the first major rain storm, ususally November, and when the number of males increases they cherp at different pitches and rates which causes them to phase in and out. They live in the shrubbery outside my window. Nick and I saw a bright green cricket-like bug on the wall of our entry stairs. Nick called it a Katydid. I don't know if that is different from what I am listening to right now.

The weather has been a little cooler than normal, although tonight is in many ways a perfect evening, not too hot or cold. In the morning the fog has ben in, but with still air it is very comfortable this time of year. I perfer that to the heat, especially starting up at 7 or 8 in the morning, as it does when the day is going to get hot. We have not had but a couple of hot days this year so far, but out heat is often in the Fall, not the Summer. We have had hot spells in October and November.

Free Web Hosting