#content > tabbox {
-moz-box-orient: horizontal;
}

.tabbrowser-strip {
-moz-box-orient: vertical;
/* note: you can set this to -moz-scrollbars-vertical instead,
but then the scrollbar will *always* be visible. this way
there is never a scrollbar, so it behaves like the tab bar
normally does */
overflow: -moz-scrollbars-none;
}

.tabbrowser-tabs {
-moz-box-orient: horizontal;
min-width: 0ex; /* you may want to increase this value */
-moz-box-align: start;
}
/*> stack > vbox > hbox*/
.tabbrowser-tabs > stack > vbox > hbox > hbox {
-moz-box-orient: vertical;
-moz-box-align: stretch;
}

.tabbrowser-tabs > stack > vbox > hbox > hbox > tab {
-moz-box-align: start;
-moz-box-orient: horizontal;
}
/* to put the tabs on the right un-comment this line */
#content > tabbox {-moz-box-direction: reverse;}

//The stuff above is for vert tabs. The stuff below is for real estate.

/* Hide the Go menu */
menu[label="Go"] {
display: none !important; }

#go-button-stack, .search-go-button-stack {
display: none !important;
}

/* Remove the Go and Help menus
Id's for all toplevel menus:
file-menu, edit-menu, view-menu, go-menu, bookmarks-menu, tools-menu, helpMenu */
#edit-menu, #go-menu, #helpMenu {
display: none !important;
}

/* Remove Back button when there's nothing to go Back to */
#back-button[disabled="true"] { display: none; }

/* Remove Forward button when there's nothing to go Forward to */
#forward-button[disabled="true"] { display: none; } 