Fixing Personal Toolbar Woes

Tuesday, August 15th, 2006 @ 1:22am. Category: General, Mozilla.

A kick-ass time hanging out with friends this week, including learning tons of card games with Julie and Allie and a wedding shower where I’m dressed in a toilet paper gown, and what do I decide to write about? SeaMonkey stuff!

Ok, so SeaMonkey 1.0.4 came out pretty recently. I upgraded from 1.0.2 (1.0.3 was replaced so quickly I didn’t even notice it was out) and everything seemed cool, until I did anything that refreshed the page— switch tabs, start scrolling, ect. After that the page started jiggling up and down very quickly by just a few pixels. Since my monitor is on the fritz I thought it might be that, but the chrome wasn’t moving. I eventually found the problem in my userchrome.css file:

toolbarbutton.bookmark-item > .toolbarbutton-icon
{
   display: none !important;
}

That bit gets rid of the little bookmark icon next to the titles of the bookmarks on my Personal Toolbar Folder. Without a graphic there something kooky happens with the height of the chrome and the page being displayed gets the jitters. So I just did what I did to make the search-button graphic-less without having to modify the theme: tell SeaMonkey to use a transparent gif!

/* Hide bookmark icons in the Personal Toolbar */

toolbarbutton.bookmark-item > .toolbarbutton-icon
{
   list-style-image : url(”transparentpixel.gif”) !important;
}

/*Fix the huge space this leaves (since display: none is buggy) */

.bookmark-item > .toolbarbutton-icon
{
   width: 0px !important;
}

And as long as there’s an image there, the height of the toolbar doesn’t seem to be a problem.

Follow any responses to this entry with the RSS 2.0 feed.

You can post a comment.

Comments { 2 }

  1. This is conjecture here (since I’m an avowed Firefox user, and have not run into this problem), but couldn’t you originally have set the display property to ‘:hidden;’, rendering the image but not displaying it (if that makes sense) and removing the necessity of transparent pixels?

    I’m actually really curious and not trying to be snotty, if you know the answer e-mail me back. Hidden has definitely saved me a headache or two…

  2. Hidden did indeed work! E-mail sent.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*