关于导航菜单的问题!
程序代码:
<STYLE type=text/css>#menubar { BACKGROUND: rgb(212,208,200); FONT: menu; CURSOR: default; POSITION: relative } #menubar .root { BORDER-RIGHT: rgb(212,208,200) 1px solid; PADDING-RIGHT: 2pt; BORDER-TOP: rgb(212,208,200) 1px solid; PADDING-LEFT: 2pt; BORDER-LEFT: rgb(212,208,200) 1px solid; BORDER-BOTTOM: rgb(212,208,200) 1px solid } #menubar TABLE { BORDER-RIGHT: gray 2px solid; PADDING-RIGHT: 0pt; BORDER-TOP: #eeeeee 2px solid; DISPLAY: none; PADDING-LEFT: 0pt; BACKGROUND: rgb(212,208,200); PADDING-BOTTOM: 0pt; MARGIN: 0pt; FONT: menu; BORDER-LEFT: #eeeeee 2px solid; PADDING-TOP: 0pt; BORDER-BOTTOM: gray 2px solid; POSITION: absolute } #menubar TABLE TD { PADDING-RIGHT: 15pt; PADDING-LEFT: 12pt; PADDING-BOTTOM: 2pt; MARGIN: 0pt; PADDING-TOP: 2pt } #menubar .highlight { BACKGROUND: #08246b; COLOR: white } #menubar .disabledhighlight { BACKGROUND: rgb(212,208,200); COLOR: gray } #menubar #break { COLOR: gray } #menubar .disabled { COLOR: gray } #menubar #break { PADDING-RIGHT: 0pt; PADDING-LEFT: 0pt; PADDING-BOTTOM: 0pt; MARGIN: 0pt; PADDING-TOP: 0pt } #menubar SPAN.more { PADDING-RIGHT: 0pt; PADDING-LEFT: 0pt; LEFT: 14pt; FLOAT: right; PADDING-BOTTOM: 0pt; MARGIN: 0pt; FONT: 9pt webdings; WIDTH: 0.8em; PADDING-TOP: 0pt; POSITION: relative; TOP: -2pt; HEIGHT: 9pt } #menubar .TBHandle { BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonhighlight 1px solid; FONT-SIZE: 10pt; BORDER-LEFT: buttonhighlight 1px solid; WIDTH: 3px; POSITION: absolute; TOP: 1px; HEIGHT: 22px; BACKGROUND-COLOR: menu } #menubar .yToolbar { BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonhighlight 1px solid; LEFT: 0px; BORDER-LEFT: buttonhighlight 1px solid; BORDER-BOTTOM: buttonshadow 1px solid; POSITION: relative; TOP: 0px; HEIGHT: 27px; BACKGROUND-COLOR: menu } .handbtn { BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonhighlight 1px solid; BACKGROUND: buttonface; BORDER-LEFT: buttonhighlight 1px solid; WIDTH: 3px; BORDER-BOTTOM: buttonshadow 1px solid; HEIGHT: 21px } .sepbtn1 { BORDER-RIGHT: buttonhighlight 1px solid; BORDER-LEFT: buttonshadow 1px ridge; WIDTH: 2px } </STYLE>
想让一级菜单居中显示,并且修改字体大小,应该怎么修改上述css,谢谢!
[ 本帖最后由 wwm123456789 于 2011-10-17 14:55 编辑 ]