Just cereal this morning — no fruit. I wanted to get to work early so I could get across town this evening before they close down the roads for the <a href="http://homecoming.psu.edu/" title="Penn State Homecoming 2003">homecoming</a> <a href="http://homecoming.psu.edu/events/week.html#fri" title="Penn State Homecoming 2003">parade</a>.
<ins datetime="2003-10-03T17:07:00-05:00">Lunch today consisted of stir fried Tofu with green beans and onions with chow mien noodles. I walked to and from for a total of about two miles. I had a beer after work. Tonight we are going to a friend’s house for Lasagna and Sangria.</ins>
<ins datetime="2003-10-04T10:19:00-05:00">Our friends also had this really good salsa/cheese dip that I ate several servings of on tortilla chips.</ins>
Fancy Rule
I got this technique for producing fancy horizontal rules (see below) from Dive Into Accessibility.
It seems to work pretty well.
Here is the code from the style sheet:
div.hr {display: none} /*/*/a{} div.hr { display: block; height: 65px; background-image: url(images/fancyrule.gif); background-repeat: no-repeat; background-position: center center; margin: 1em 0 1em 0; } hr.fancy {display:none} /* */
Here is the code to place the rule on the page:
<div class="hr"></div><hr class="fancy" />
Food Log
Breakfast this morning again consisted of a bowl of generic toasted oat cereal with half of a banana sliced on top and 2% milk. The cats again getting most of the milk.
<ins datetime="2003-10-02T11:57:00-05:00">I went for a 1 ½ mile walk this morning — over to Pattee Library. I grabbed a bag of chips for lunch.</ins>
<ins datetime="2003-10-02T12:30:00-05:00">I was going to go for a walk over my lunch hour, but believe it or not it appears to be <em>snowing</em> out!</ins>
<ins datetime="2003-10-02T19:45:00-05:00">I broke down and had a pack of peanut butter crackers this afternoon. We had chili and cornbread and two beers for dinner tonight.</ins>
Food Log
Breakfast this morning consisted of a bowl of generic toasted oat cereal — that is like <a href="http://www.cheerios.com/" title="Cheerios.com - The 1 and Only Cheerios">Cheerios</a> for the brand name buyers amongst you — with half of a banana sliced on top and 2% milk — a compromise with my wife since I cannot bring myself to dring the gray water they sell as 1% milk — but the cats ended up getting most of the milk. No lunch… yet. I also walked four miles over my lunch hour.
<ins datetime="2003-10-01T20:35:31-05:00">Tonight was our wedding anniversary, so we went all out and had creamed chicken and waffles! We also had a bottle of <a href="http://www.bolla.com/view_wine.asp?nWID=6" title="Bolla Wines of Italy - Open Up">Bolla Sangiovese Di Romagna</a>.</ins>
Food Log
We had salad and a beer tonight. Granted, it was a fairly substantial salad, but I was feeling pretty good about it. Then my wife told me it was our brother-in-law’s birthday, and her mom was having cake and ice cream. :-/
Chicken Enchiladas
Recipe courtesy Rachael Ray
Recipe Summary
Prep Time: 5 minutes
Cook Time: 25 minutes
Yield: 4 servings
- 8 soft corn tortillas
Filling:
- 3 cups chicken broth
- 4 pieces boneless skinless chicken breast, 6 to 8 ounces
- 1 bay leaf, fresh or dried
- 2 sprigs fresh oregano
- 1 small onion, quartered
- 2 tablespoons tomato paste
- 1 teaspoon chili powder, ⅓ palm full
- 1 teaspoon ground cumin
- Salt
Sauce:
- 2 cups tomato sauce
- 2 teaspoons hot cayenne pepper sauce, several drops
- ¼ teaspoon ground cinnamon, 2 pinches
- 1 teaspoon chili powder
- 2 ½ cups Monterey Jack shredded cheese, available on dairy aisle
Preheat the oven to 275° F.
Wrap corn tortillas in foil and warm in the oven. Bring broth to a boil in a saute pan. Set chicken into broth with bay and oregano and onion. Return to a boil, cover and reduce heat to simmer. Poach chicken in broth 10 minutes. Remove chicken breasts to a bowl and shred with 2 forks. Add ½ cup of cooking liquid and tomato paste, spices and salt and work through the chicken using the forks.
Combine all sauce ingredients and heat through, keeping warm until needed.
Remove tortillas from oven and switch broiler on high.
Pile chicken mixture into warm corn tortillas and roll. Line casserole or baking dish with enchiladas, seam side down. Pour hot tomato sauce over the chicken enchiladas and top with cheese. Place in enchiladas in hot oven 6 inches from broiler and broil 5 minutes to melt cheese and set enchiladas. Serve.
Rachael Ray (2003), <i>Chicken Enchiladas</i>. Retrieved Tuesday, September 30, 2003, from <a href="http://www.foodtv.com/food/recipes/recipe/0,1977,FOOD_9936_21595,00.html" title="Food Network: Chicken Enchiladas">www.foodtv.com/food/recipes/recipe/0,1977,FOOD_9936_21595,00.html</a>.
Food Log
We had corkscrew noodles with <dfn title="Bech"a*mel, n. [F. béchamel, named from its inventor, Louis de Béchamel (1630-1703) chief steward of Louis XIV.] (Cookery) A rich, white sauce, prepared with butter and cream; milk thickened with a butter and flour roux [syn: white sauce]">Béchamel</dfn> sauce (<a href="http://www.foodnetwork.com/food/recipes/recipe/0,,FOOD_9936_22896,00.html" title="Food Network: Classic Italian Lasagna">recipe on this page</a>), a Waldorf salad, and a beer for dinner last night. This morning I had a bowl of peach slices and a glass of orange juice.
<ins datetime="2003-09-30T15:02:00-05:00">For lunch, I had an apple and a bag of potato chips. Also I walked almost five miles today — one for a meeting on campus this morning and four over lunch.</ins>
CLASS and ID as CSS Selectors
So the main difference between <code>class</code> and <code>id</code> is that there can only be one thing on a page with a given <code>id</code>, while any number of things can have the same <code>class</code>. One way to interpret this is to say that <code>id</code> implies structure — in the same way that the <code><html></code>, <code><head></code>, and <code><body></code> elements do — while <code>class</code> implies presentation — in the same way that the <code><p></code>, <code><address></code>, and <code><blockquote></code> elements do.
1.4 Class as selector
To increase the granularity of control over elements, a new attribute has been added to HTML: ‘CLASS’. All elements inside the ‘BODY’ element can be classed, and the class can
be addressed in the style sheet:<HTML> <HEAD> <TITLE>Title</TITLE> <STYLE TYPE="text/css"> H1.pastoral { color: #00FF00 } </STYLE> </HEAD> <BODY> <H1 CLASS=pastoral>Way too green</H1> </BODY> </HTML>The normal inheritance rules apply to classed elements; they inherit values from their parent in the document structure.
One can address all elements of the same class by omitting the tag name in the selector:
.pastoral { color: green } /* all elements with CLASS pastoral */Only one class can be specified per selector. ‘P.pastoral.marine’ is therefore an invalid selector in CSS1. (Contextual selectors, described below, can have one class per simple selector)
CSS gives so much power to the CLASS attribute, that in many cases it doesn’t even matter what HTML element the class is set on — you can make any element emulate almost any other. Relying on this power is not recommended, since it removes the level of structure that has a universal meaning (HTML elements). A structure based on CLASS is only useful within a restricted domain, where the meaning of a class has been mutually agreed upon.
1.5 ID as selector
HTML also introduces the ‘ID’ attribute which is guaranteed to have a unique value over the document. It can therefore be of special importance as a style sheet selector, and can be addressed with a preceding ‘#’:
#z98y { letter-spacing: 0.3em } H1#z98y { letter-spacing: 0.5em } <P ID=z98y>Wide text</P>In the above example, the first selector matches the ‘P’ element due to the ‘ID’ attribute value. The second selector specifies both an element type (‘H1’) and an ID value, and will therefore not match the ‘P’ element.
By using the ID attribute as selector, one can set style properties on a per-element basis. While style sheets have been designed to augment document structure, this feature will allow authors to create documents that present well on the canvas without taking advantage of the structural elements of HTML. This use of style sheets is discouraged.
Håkon Wium Lie and Bert Bos (1999, January 11), <i>Cascading Style Sheets, level 1</i>. Retrieved Monday, September 29, 2003, from <a href="http://www.w3.org/TR/CSS1" title="Cascading Style Sheets, level 1">www.w3.org/ TR/ CSS1</a>.
Food Log
Last night, the wife and I made Eggplant Parmesan sandwiches (2 each), baked beans, and cole slaw. If I recall correctly, I also had two beers. This morning I had a bowl of peach slices. For lunch today, I walked about two miles and ate a bag of peanuts.
Fuel Log
- 12.993 Gallons
- $1.539/Gallon
- $20.00
- 313.0 Miles
- 24.1 Miles/Gallon
- 6¢/Mile
- 12 Days