Thursday, November 19, 2009

Connecting Navicat to a GoDaddy MySQL Server

Why re-invent to the wheel?

http://blogs.navicat.com/?p=26

If Navicat ever changes their blog I'm screwed. I hope the way back machine can save my ass on this one.

Wednesday, November 18, 2009

Align Form Select with Image Submit Button Using CSS

I pulled my hair out over this one for about 45 minutes tonight. There's a trick out there for getting your form submit image to line up with your text input box, but it wasn't working when using a select form element. The process is the same, but rather than using the css:

  • vertical-align: text-top;
Use one of these:
  • vertical-align: top;
  • vertical-align: bottom;
Code Sample:

<form action="pdfcall.cfm">
<select name="quarterly" style="vertical-align: top;">
<option value="0">-- Select a Quarter --</option>
<option value="#">Q1 2009</option>
<option value="#">Q4 2008</option>
<option value="#">Q3 2008</option>
<option value="#">Q2 2008</option>
</select>
<input type="image" src="images/submit.jpg" style="margin-left: 10px;" />
</form>

Friday, November 13, 2009

Dreamweaver Crashes in Vista

In my particular situation, I'm working in Dreamweaver CS3 in Vista Enterprise (x64). Every time I opened DW, it would crash with no warning. The DW screen would get washed out and an error would come up telling me that DW crashed and vista was trying to figure out why. The explanation vista crash adviser gave was something related to MS kb937491, but after researching the reg keys this addresses, it was not the issue. Some additional research indicated that this was (yet another) problem with DW's use of a WinFileCachexxxx.dat file. See my previous post about the solution to this problem. Interestingly, this happened right after DST took affect and some of the things I researched indicated that this switch has a tendancy to corrupt the WinFile files.