Recently I finally discovered two web programming techniques I have been trying to figure out for a long time.
Last Updated Web Page Time
The first was to figure out how to automatically include the last updated date in a web page. I found this information in kind of a round about way at . The problem in finding the code is that it is a server side script which means that the page has to have a .shtml extension. However, if you view the page source, you only see the results of the script, not the actual script. Well, after a lot of searching, here is the code.
Last Updated:
I am not exactly sure how the date formatting works, but your can probably figure it out. This will save me a lot of time.
Different Cascading Style Sheet for IE, Firefox, or any Browser
Another problem I was recently having was making my page display properly in both FireFox and Internet Explorer. I tend to code my pages to work in FF because it is closer to W3C compliance than is IE. But, both count pixels incorrectly, (I think) and more annoyingly, they both count pixels differently! So, I was able to code my page properly for IE and properly for FF, but not at the same time. After some searching I found the answer (although I don’t remember where). You have to code something like this:
Because CSS is Cascading the second CSS takes precedence if the user is using IE and not something else.
The international community (at least some of them) have declared that Pluto is no longer a planet, rather it is a dwarf planet. I think this is an extremely cool event. I always wanted to know who makes those kinds of decisions and who has that authority, now we know. Ultimately I guess the new definition will only stick as long as people accept it. This has got to be a big boom for the text book industry too, because now they have to re-write (and re-sell of course) text books to account for this change.
Personally, I think it is a good decision. Where does Pluto get off thinking it is a planet. It is a little chunk of rock, smaller than our moon (I beleive) that doesn’t even bother staying in the same plane as the rest of the planets. Unbelievable!
I am happy with 8 planets. I think it is a good move. I am anxious to see how the rest of the world accepts this.
This is my new blog. I have flipped flop back and forth deciding whether or not I want to have a blog at all, and if I do, whether or not I want to host it myself or on one of the popular sites. Ultimately, I decided to do it on my own server so I can play around with the formatting a bit and because my school block LiveJournal.
My main motivation right now for blogging is to track the process that I make on my new house as far as the construction and remodeling goes. As time goes on I hope to be able to post more regularly than I used to and allow people to stay up to date on what is going on in my fascinating life.