My text in this nav bar will not align to the right
From .css style sheet:
#navblock {
text-align: right;
background-color:#FFF;
position: inherit;
width:130px;
text-align:right;
float: left;
height: 951px;
padding-top: 0.9em;
}
From spry menu bar.css:
ul.MenuBarVertical a
{
display: block;
cursor: pointer;
background-color: #FFF;
padding:.80em 1.25em;
font-family: Verdana, Geneva, sans-serif;
color: #3d3d3d;
font-size: 130%;
text-align: right;
color: #3d3d3d;
text-decoration: none;
ENTIRE Java.css
/* SpryMenuBarVertical.css - version 0.6 - Spry Pre-Release 1.6.1 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
ul.MenuBarVertical
{
margin: 0;
padding: 0;
list-style-type: none;
font-family: Verdana, Geneva, sans-serif;
color: #3d3d3d;
text-align: right;
font-size: 80%;
cursor: default;
width:130px;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
z-index: 1000;
}
/* Menu item containers, position children relative to this container and are same fixed width as parent */
ul.MenuBarVertical li
{
font-family: Verdana, Geneva, sans-serif;
color: #3d3d3d;
font-size: 80%;
text-align: right;
cursor: pointer;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarVertical ul
{
margin: 5% 0 0 95%;
padding: 0;
list-style-type: none;
font-family: Verdana, Geneva, sans-serif;
font-size: 85%;
position: absolute;
z-index: 1020;
cursor: default;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarVertical ul.MenuBarSubmenuVisible
{
left: auto;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarVertical ul li
{
width:130px;
}
/*******************************************************************************
DESIGN INFORMATION: describes color scheme, borders, fonts
*******************************************************************************/
/* Menu items are a light gray block with padding and no text decoration 0.5em 0.75em */
ul.MenuBarVertical a
{
display: block;
cursor: pointer;
background-color: #FFF;
padding:.80em 1.25em;
font-family: Verdana, Geneva, sans-serif;
color: #3d3d3d;
font-size: 130%;
text-align: right;
color: #3d3d3d;
text-decoration: none;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
{
background-color: #76b955;/*yellow green*/
color: #FFF;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
{
background-color: #76b955;/*yellow green*/
color: #FFF;
}
/*******************************************************************************
SUBMENU INDICATION: styles if there is a submenu under a given menu item
*******************************************************************************/
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 100% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 100% 50%;
}
ul.MenuBarVerical ul {
width:130px;
}
/*******************************************************************************
BROWSER HACKS: the hacks below should not be changed unless you are an expert
*******************************************************************************/
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarVertical iframe
{
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
ul.MenuBarVertical li.MenuBarItemIE
{
display: inline;
f\loat: left;
background: #FFF;
}
}
From .css style sheet:
#navblock {
text-align: right;
background-color:#FFF;
position: inherit;
width:130px;
text-align:right;
float: left;
height: 951px;
padding-top: 0.9em;
}
From spry menu bar.css:
ul.MenuBarVertical a
{
display: block;
cursor: pointer;
background-color: #FFF;
padding:.80em 1.25em;
font-family: Verdana, Geneva, sans-serif;
color: #3d3d3d;
font-size: 130%;
text-align: right;
color: #3d3d3d;
text-decoration: none;
ENTIRE Java.css
/* SpryMenuBarVertical.css - version 0.6 - Spry Pre-Release 1.6.1 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
ul.MenuBarVertical
{
margin: 0;
padding: 0;
list-style-type: none;
font-family: Verdana, Geneva, sans-serif;
color: #3d3d3d;
text-align: right;
font-size: 80%;
cursor: default;
width:130px;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
z-index: 1000;
}
/* Menu item containers, position children relative to this container and are same fixed width as parent */
ul.MenuBarVertical li
{
font-family: Verdana, Geneva, sans-serif;
color: #3d3d3d;
font-size: 80%;
text-align: right;
cursor: pointer;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarVertical ul
{
margin: 5% 0 0 95%;
padding: 0;
list-style-type: none;
font-family: Verdana, Geneva, sans-serif;
font-size: 85%;
position: absolute;
z-index: 1020;
cursor: default;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarVertical ul.MenuBarSubmenuVisible
{
left: auto;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarVertical ul li
{
width:130px;
}
/*******************************************************************************
DESIGN INFORMATION: describes color scheme, borders, fonts
*******************************************************************************/
/* Menu items are a light gray block with padding and no text decoration 0.5em 0.75em */
ul.MenuBarVertical a
{
display: block;
cursor: pointer;
background-color: #FFF;
padding:.80em 1.25em;
font-family: Verdana, Geneva, sans-serif;
color: #3d3d3d;
font-size: 130%;
text-align: right;
color: #3d3d3d;
text-decoration: none;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
{
background-color: #76b955;/*yellow green*/
color: #FFF;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
{
background-color: #76b955;/*yellow green*/
color: #FFF;
}
/*******************************************************************************
SUBMENU INDICATION: styles if there is a submenu under a given menu item
*******************************************************************************/
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 100% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 100% 50%;
}
ul.MenuBarVerical ul {
width:130px;
}
/*******************************************************************************
BROWSER HACKS: the hacks below should not be changed unless you are an expert
*******************************************************************************/
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarVertical iframe
{
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
ul.MenuBarVertical li.MenuBarItemIE
{
display: inline;
f\loat: left;
background: #FFF;
}
}
Comment