Saturday, July 22, 2006
Floated Nested Divs
Wow, this has been a stinking pain! I was trying to do something like the following:
<div id="container">
<div id="float_right">
</div>
</div>
When the float_right div had content that made its height greater than the container div, Firefox would not auto-encase it, but it would overflow the container div. IE, auto-encases.
Well, after struggling with this problem for some time -- and realizing that I've run into this problem before, I ran into a good forum post.
The key for Firefox is to put an element after the floated div, but before the end of the container div that has the CSS clear:both tag. So, my solution was something like this:
<div id="container">
<div id="float_right">
</div>
<br style="clear:both;" />
</div>
And it worked like a charm. Happy day.
<div id="container">
<div id="float_right">
</div>
</div>
When the float_right div had content that made its height greater than the container div, Firefox would not auto-encase it, but it would overflow the container div. IE, auto-encases.
Well, after struggling with this problem for some time -- and realizing that I've run into this problem before, I ran into a good forum post.
The key for Firefox is to put an element after the floated div, but before the end of the container div that has the CSS clear:both tag. So, my solution was something like this:
<div id="container">
<div id="float_right">
</div>
<br style="clear:both;" />
</div>
And it worked like a charm. Happy day.
Sunday, July 16, 2006
CS is Fun
Yes, life won't always be as carefree as to allow my construction of such an informative, yet overly involved table of information. Go CMM... my new slogan C-oding M-oves M-e. Hehe.
Check it out, yo.
And if you don't know what CMM is, Wikipedia it.
Monday, July 10, 2006
Trouble with Technology
If you've been to jtsnake.com lately, you've seen that I'm pulling in the blog headlines through RSS feeds. As of now, the XML document is being parsed purely by PHP and being applied to an HTML template. But, I didn' write the PHP script, and it's a mess. I only wished to make minor modifications. So, naturallly I wanted more control and got an XSLT style sheet to transform the XML according to and wrote the PHP to do it. But, wouldn't you know it, my host, godaddy.com, doesn't support XSLT for their current deployment of PHP. So, I thought, well, to the next solution I go. And so I went. I got the client to determine which XSLT the XML file should use, but I could only get a version to work in IE, not Firefox. So then I finally wrote one in Java, uploaded that to the server (after a crazy time finding the write JAR file to compile my servlet), only to find out that my godaddy.com hosting account (the cheapest) doesn't have Java enabled. Argh! I need a good, free Java host. Good luck, Jake!
Tuesday, June 27, 2006
Google Earth 4
Wow, Google just never ceases to pump out new versions of their products. This one's got streamlined UI, expanded database of high resolution images, etc. It's also been released for Linux and Mac if you like those flavors.
Here's the news release via Google's blog.
The download is here. Just remember, version 4 is beta. But, for Google, that doesn't mean much.
Here's the news release via Google's blog.
The download is here. Just remember, version 4 is beta. But, for Google, that doesn't mean much.
Thursday, June 22, 2006
I'm Breathing
Wow, I just finished my first all out Software Design Description with my group at school. The project took a lot out of me, but I'm still standing -- just after a lot of kneeling. And what do you know, today I've actually felt again what it feels like to relax. Oooohhh, it feels good. Oh, but wait, gotta' go. I've got a Software Quality Assurance Plan to make!
Friday, June 16, 2006
EDS Commercials
Hey you nerds! The two EDS commercials we saw today are now posted on jtsnake.com .
There's currently a link on the front page. If I move them, I'll let you know where. Hehe, so funny.
There's currently a link on the front page. If I move them, I'll let you know where. Hehe, so funny.
Monday, June 12, 2006
Uninstall Win Media Player 11 beta and IE 7 beta
Sometimes I just get caught up in the latest, "greatest." Well, I was disappointed with WMP 11. The sleek black is cool, but it functioned differently/incorrectly in my opinion in comparison to the previous. IE 7 was all right, but IE 6 is still the most used browser and I don't know how to test for both on the same machine in my web dev, so I opted with rolling back. It feels much better. ahh....
Warning: You should probably make a backup copy of the registry before attempting to uninstall media player 11 beta. Although I didn't. Tee hee. :) And it's probably only a good idea to use this method if it's not listed under the Add/Remove Programs, which mine wasn't. Make a copy by selecting: Registry / Export Registry, save it on your Desktop.
Warning: You should probably make a backup copy of the registry before attempting to uninstall media player 11 beta. Although I didn't. Tee hee. :) And it's probably only a good idea to use this method if it's not listed under the Add/Remove Programs, which mine wasn't. Make a copy by selecting: Registry / Export Registry, save it on your Desktop.
- Click the START button and select Run.
- Type in: regedit in the command box.
- When the regedit window appears, expand the HKEY LOCAL MACHINE by clicking on the plus sign to its right.
- Now Click on the plus next to SOFTWARE, then MICROSOFT, then WINDOWS, then CURRENT VERSION and finally UNINSTALL
- When you expand the Uninstall folder, you'll see all the programs currently installed, such as the uninstall Media Player 10 or Media Player, etc.
- Click on the folder you want to uninstall, in the box on the right you will see two strings:
- DisplayName and UninstallString.
- Double click UninstallString and a box will appear with the uninstall string highlighted.
- Right click on the highlighted entry and select COPY.
- Close the Regedit window.
- Select the START button and click RUN.
- Right click inside the command box and paste the uninstall string and click OK to uninstall Media Player 10 beta.