Archive for November, 2008

Wordpress in a subfolder in a multi-site GoDaddy hosting account

With the Deluxe GoDaddy hosting account, one  can host as many sites as desired, each in their own subfolder.

I had a blog, previously in its subfolder (www.mysite.com/folder/) and set that folder to be the new site (www.folder.com). Only, when I went to the site, it would redirect me to the root of the site (www.mysite.com). I looked at the mod-rewrite syntax and it seemed ok… wp-config.php did not have an option for setting the root address.

The solution was to login to wordpress and to change in settings->general settings the Wordpress address and the Blog address to be the new site.

The only thing left was to change any hardcoded hyperlinks!

Yet another weird IE6 bug: position:relative somewhere else causes menu to break

In a page I have a drop down menu (in the #header div) and a h2 title (in the #content div, which is separate from the #header div).  Somehow, adding "position:relative" to the h2 will break the layout of the drop down menu.

Continue Reading »

HasLayout makes all of the link area clickable in IE 6

The issue: The clickable area of some of my menu links (but only the first level links! Second level and h2 links worked just fine…) did not include the link’s padding. So the clickable area was very small even though the hover effect worked in the entire area.

The solution:  make sure the link has "HasLayout=true". Here is a demonstration of the influence of HasLayout on clickable areas.  An easy way to fix it is to set the height of the offending item to 1%. In my case:

#primary-nav li a { width: 1%}

Technorati Tags: ,