Internet Explorer 6 Duplicate Characters Bug

December 14th, 2010

Internet Explorer 6 has a puzzling bug involving multiple floated elements; text characters from the last of the floated elements are sometimes duplicated below the last float. This bug is a real headbanger because there seems to be nothing triggering it. However, by now everyone should know that IE needs no excuse to misbehave.

Old story line...

Old story line...

The direct cause is nothing more than ordinary HTML comments, such as, , sandwiched between floats that come in sequence. Apparently, the comments are hard for IE to digest when they occupy those positions, resulting in a kind of “screen diarrhea”. HTML comments inside the floats do not cause the bug, nor do comments before or after the float series. Only comments residing between floats cause the bug.

The effect seen is that some of the last characters from the last floated element of the series are repeated outside and below that floated element. The first sandwiched comment does nothing unusual, but two comments cause the last two characters in that last float to repeat. Each additional comment makes two more characters join the party. It doesn’t matter which pair of floats straddle the comments. In fact the two triggering comments may follow different floats as long as they have floats both before and after them.

Read more…

Embedding the Search Box in HubSpot

November 3rd, 2010

Every website with more than a few web pages should have a site search engine. Your visitors expect to be able to search your site and search is the first thing they’ll try when they are at your site but can’t find what they’re looking for. A quick way to add search to your site is to use Google’s Custom Search Engine tool, which allows you to search against Google’s master index but pare down the results to only those found in a select set of websites. The CSE search box and results can be embedded within your website, providing your visitors with a fully functional site-wide search experience.

Hubspot and Google Custom Search

Hubspot and Google Custom Search

One challenge with adding the Google CSE to an HubSpot website is that the search box markup is implemented as a form. The search box markup suggested by Google for my blog follows:

<form action=”http://www.meadowlarkenergy.com/search-results/” id=”cse-search-box”>
<div>
<input type=”hidden” name=”cx” value=”009828287250050420178:iusm0y5oo44″ />
<input type=”hidden” name=”cof” value=”FORID:10″ />
<input type=”hidden” name=”ie” value=”UTF-8″ />
<input type=”text” name=”q” size=”31″ />
<input type=”submit” name=”sa” value=”Search” />
</div>
</form>
<script type=”text/javascript” src=”http://www.google.com/cse/brand?form=cse-search-box&lang=en”></script>

HubSpot pages already have a postback form present, which complicates integrating the search box form into your ASP.NET pages. One approach is to use JavaScript (read more) and second one is iFrames <iframe>.

We Welcome Om of Medicine

October 5th, 2010

Our latest project. WP + PHP + CSS = OM.

Om of Medicine

Om of Medicine

Check it out…

How A Web Design Goes Straight To Hell

September 1st, 2010

One of our favorite comics that you can find online. So true. So difficult. So painful.

Straight to Hell Boy, Straight to Hell Boy

Straight to Hell Boy, Straight to Hell Boy

Read more here…

Thank you Oatmeal.

Thank you Google

August 4th, 2010
Finaly

Finaly

If you’re a big user of Gmail, Calendar, or any of Google’s other account-based services and have spread your data across multiple accounts, Google has a new feature that you’re going to love: Multiple Sign-In. Yes, you’ll finally be able to quickly swap between multiple Google accounts without having to go through the tedious process of logging out and logging back in every time.

Granted, the process generally takes less than a minute, but for those of who have been doing it a dozen times a day, this is a very welcome change.

Read more at TechCrunch…

VSFTPD: Transfer Done (but failed to open directory)

June 22nd, 2010

For all of you guys that are looking for using VSFTPD as your FTP client.

Thank you Daniel – http://danielbstechblog.blogspot.com

In most cases, the supplied sample configuration file for VSFTPD located in /etc/vsftpd will work for most simple setups. However, you might find that after connecting to your FTP server using you favourite FTP client, you find you recieve the following error in you client log:

Error: Transfer Done (but failed to open directory)

Double Trouble

Double Trouble

The main reason that the client can’t read or “open” the directory is permission issues on the folder denying the client access. When running a Red Hat based (Red Hat, Fedora etc.) server, SELinux is installed and live be default. SELinux controls a second set of folder/file access permissions on top of the standard linux folder permissions system. And because in most cases SELinux is not setup properly, users and administrators are unaware that SELinux is working on this layer.

Because of many issues with configuration SELinux, if you don’t properly set this up, SELinux will deny FTP access to the folders and also see the access as a possible security threat.

In my configuration, the standard linux permission system is fine. Therefore, disabling SELinux resolves this issue.

To disable SELinux (Note: this needs to be done as root or sudo):

Read more…

Image Upload WordPress Fix

June 15th, 2010

I setup a new server, ftp, control panel and finally WordPress. Just when I thought I had it, my WordPress just failed with frustrating errors:

  • The uploaded file could not be moved to /var/www/html/wp-content/uploads
  • Unable to create directory /var/www/html/wp-content/uploads

After hours of searching – googling – forum posting  I ended up with changing directory permissions to 777 ( chmod 777 ), creating new users on the server for my WP admin,  modifying php.ini file ( safe_mode_gid=ON ) and NO RESULTS. If I just know that fix is so simple, so obvious…

Super Duper Simple

Super Duper Simple

Under Settings > Miscellaneous, I unchecked ‘Organize my uploads into month- and year-based folders’. No editing of .htaccess or modifying mod_security… It is just that easy.

Apple, Steve Jobs, iSomething vs. Adobe, Flash, iWorld

April 29th, 2010

Adobe’s  Flash  software is virtually unavoidable part of today’s web surfing  and many did not realize Jobs stubbornness – to this day. Apple’s boss explains in his blog how there are six problems with flash that are preventing Apple to include Flash on its iPods, iPhones and iPads.

Who is getting screwed?

Who is getting screwed?

“Flash has made in the era of PC, PC, and the mice. Adobe should focus on creating tools for HTML5…”

Read more…

Ivy League Experience

April 20th, 2010

Take a look at our recent project below.

Ithaca is Gorgeous !

Ithaca is Gorgeous

Ithaca is Gorgeous

Ann Arbor Startup

April 12th, 2010

How is it that we have never mentioned A2Geeks.org? We don’t know, but we will fix it ASAP.

Looking for Geek events in Ann Arbor? This is the ultimate place to meet Ann Arbor Geeks (us! but not our GF’s).

Are you thinking of starting a company in Ann Arbor?  A2Geeks.org can help.

Got a geeky, nerdy project? A2Geeks would love to hear about it.

Geeks are tough!

Geeks are tough!

Also, Geeks are IN these days.

Check it out – A2Geeks.orggeek