Zawarah
07-25-2006, 05:58 AM
Okay so this is my page I need help with:
http://www.atlasworldwide.co.nz/trial/index3-navigation-trial.htm
On that page under 'Banner Goes Here' is a Cascading Menu. Now I've centered my page so it's all in the middle...but here's a few problems:
* By making the page center it also makes my text in the drop-down menu center as well. I need to somehow make the text aligned to the left again. If I take out the center code it goes back to being left aligned, but I need the center code in there so the table with the menu in it is in the right place.
Also another thing is my target to iframe doesn't seem to be working...
Here is my css for the cascading menu above:
Any idea how to change the highlight as well - so instead of it highlighting blue I'd like it to just change the text colour to gray and keep the background white as well.
Unless anyone has any other code for the same sort of thing - even a clickable one instead of a hover one would be fantastic. I was using a different hover one but it was driving me crazy as it wasn't always picking up the links to click on them.
CSS. STYLE SHEET CODE
BODY
{
}
.menuBar
{
POSITION: relative;
BACKGROUND-COLOR: transparent;
TEXT-ALIGN: left
}
.Bar
{
BORDER-RIGHT: none;
BORDER-TOP: none;
FLOAT: left;
BORDER-LEFT: none;
WIDTH: 85px;
CURSOR: hand;
TEXT-INDENT: 0px;
BORDER-BOTTOM: none;
POSITION: relative;
BACKGROUND-COLOR: FFFFFF;
TEXT-ALIGN: left
}
.menu
{
BORDER-RIGHT: 000000 1px solid;
BORDER-TOP: 000000 1px solid;
VISIBILITY: hidden;
BORDER-LEFT: 000000 1px solid;
WIDTH: 85px;
LINE-HEIGHT: 100%;
BORDER-BOTTOM: 000000 1px solid;
POSITION: absolute;
BACKGROUND-COLOR: white
}
.menuItem
{
PADDING-RIGHT: 2px;
PADDING-LEFT: 2px;
WIDTH: 100%;
CURSOR: hand;
LINE-HEIGHT: 20px;
BORDER-BOTTOM: FFFFFF 1px solid
}
.ItemMouseOver
{
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
WIDTH: 100%;
CURSOR: hand;
COLOR: highlighttext;
LINE-HEIGHT: 20px;
BORDER-BOTTOM: white 1px solid;
BACKGROUND-COLOR: highlight
}
.ItemMouseOut
{
WIDTH: 100%
}
.Arrow
{
FLOAT: right;
FONT-FAMILY: webdings;
POSITION: absolute;
TEXT-ALIGN: left
}
.barOver
{
BORDER-RIGHT: none;
BORDER-TOP: none;
FLOAT: left;
BORDER-LEFT: none;
WIDTH: 85px;
CURSOR: hand;
TEXT-INDENT: 0px;
BORDER-BOTTOM: none;
POSITION: relative;
BACKGROUND-COLOR: FFFFFF;
TEXT-ALIGN: left
}
http://www.atlasworldwide.co.nz/trial/index3-navigation-trial.htm
On that page under 'Banner Goes Here' is a Cascading Menu. Now I've centered my page so it's all in the middle...but here's a few problems:
* By making the page center it also makes my text in the drop-down menu center as well. I need to somehow make the text aligned to the left again. If I take out the center code it goes back to being left aligned, but I need the center code in there so the table with the menu in it is in the right place.
Also another thing is my target to iframe doesn't seem to be working...
Here is my css for the cascading menu above:
Any idea how to change the highlight as well - so instead of it highlighting blue I'd like it to just change the text colour to gray and keep the background white as well.
Unless anyone has any other code for the same sort of thing - even a clickable one instead of a hover one would be fantastic. I was using a different hover one but it was driving me crazy as it wasn't always picking up the links to click on them.
CSS. STYLE SHEET CODE
BODY
{
}
.menuBar
{
POSITION: relative;
BACKGROUND-COLOR: transparent;
TEXT-ALIGN: left
}
.Bar
{
BORDER-RIGHT: none;
BORDER-TOP: none;
FLOAT: left;
BORDER-LEFT: none;
WIDTH: 85px;
CURSOR: hand;
TEXT-INDENT: 0px;
BORDER-BOTTOM: none;
POSITION: relative;
BACKGROUND-COLOR: FFFFFF;
TEXT-ALIGN: left
}
.menu
{
BORDER-RIGHT: 000000 1px solid;
BORDER-TOP: 000000 1px solid;
VISIBILITY: hidden;
BORDER-LEFT: 000000 1px solid;
WIDTH: 85px;
LINE-HEIGHT: 100%;
BORDER-BOTTOM: 000000 1px solid;
POSITION: absolute;
BACKGROUND-COLOR: white
}
.menuItem
{
PADDING-RIGHT: 2px;
PADDING-LEFT: 2px;
WIDTH: 100%;
CURSOR: hand;
LINE-HEIGHT: 20px;
BORDER-BOTTOM: FFFFFF 1px solid
}
.ItemMouseOver
{
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
WIDTH: 100%;
CURSOR: hand;
COLOR: highlighttext;
LINE-HEIGHT: 20px;
BORDER-BOTTOM: white 1px solid;
BACKGROUND-COLOR: highlight
}
.ItemMouseOut
{
WIDTH: 100%
}
.Arrow
{
FLOAT: right;
FONT-FAMILY: webdings;
POSITION: absolute;
TEXT-ALIGN: left
}
.barOver
{
BORDER-RIGHT: none;
BORDER-TOP: none;
FLOAT: left;
BORDER-LEFT: none;
WIDTH: 85px;
CURSOR: hand;
TEXT-INDENT: 0px;
BORDER-BOTTOM: none;
POSITION: relative;
BACKGROUND-COLOR: FFFFFF;
TEXT-ALIGN: left
}