Questions About Hand Corner

Tiger help! Why are my wireless and spotlight icons missing from the upper right hand corner of my toolbar?

Tiger help! Why are my wireless and spotlight icons missing from the upper right hand corner of my toolbar? I run Mac OS X 10.4.11 on my 12" powerbook g4. When I turned on my computer today, the spotlight and wireless icons were missing from my toolbar. I can access the spotlight through finder. However, I can't connect to the internet. Please help me fix this! Thanks!

Display image in right hand corner of dynamic element

I have an "article-box" that is used for a few different pages with 2 different widths. I have an image that i would like to display in the top right hand corner of each of these boxes. how could i use css to display the image correctly in the top right hand corner for each box?

i have the following css code which doesn't quite work, thanks in advance.

.wide-article-box {
    @extend .article-box;
        padding: 20px;
        max-width: 900px;

    #badge {
        position: relative;

    #badge img {
            position: absolute;
        border-width: 0px;  

and in the view

    <div class="wide-article-box">
     <!--text etc -->
      <div id="badge">  
        <%= image_tag "BLH_BADGE.png" %>            

Position absolute, top right hand corner (resizing)

Should be really simple... I thought.

I have a set up as such:

<div id="main">
   <div id="a1">THE FIRST</div>
   <div id="a2">THE SECOND</div>

I want the entire main div to be positioned at the top right hand corner of my screen and when I resize the browser, I want it to STAY there. I'm not talking fixed positioning - Just absolute.

However, this css isn't working. Any ideas?

#main {

#main #a1 {
    background: #082540;
    z-index: 300;

#main #a2 {
    background: #082540;
    z-index: 300;

** EDIT **

If I put the div at the top right hand, I want it to disappear (like "fixed") when I bring the browser in from right to left.

How do I position a XUL Panel (Firefox) in the bottom right hand corner of the main window?

I am creating a Firefox extension that pops up growl-like notifications. Currently I am popping them up relative to a status bar icon. This is fine unless there are other status bar extensions installed that would make my icon not the rightmost element. How would I go about positioning it so that the notifications always start at the bottom right?

Current Code:

container.openPopup(document.getElementById('notification-statusbar'), 'before_end', 0, -5, false, false);

Finding properties of sloppy hand-drawn rectangles

Image I'm working with:

I'm trying to find each of the boxes in this image. The results don't have to be 100% accurate, just as long as the boxes found are approximately correct in position/size. From playing with the example for square detection, I've managed to get contours, bounding boxes, corners and the centers of boxes.

There are a few issues I'm running into here:

  1. bounding rectangles are detected for both the inside and the outside of the drawn lines.
  2. some extraneous corners/centers are detected.
  3. I'm not sure how to match corners/centers with the related contours/bounding boxes, especially when taking nested boxes into account.

Image resulting from code:

Here's the code I'm using