PDA

View Full Version : DD Tab Menu II IE



nbronezero
01-12-2005, 01:13 AM
Please advise on how to center menu.

When I change float: left; to float; right is moves to the right, but if i try center it move to the left and not the center of page.

#ddimagetabs a{
display: block;
text-decoration: none;
font: bold 12px Arial; /*tab font */
color: black; /*font color */
width: 86px; /*width of tab image */
height: 22px; /*height of tab image */
float: left;
display: inline;
margin-left: 4px; /*spacing between tabs */
padding-top: 4px; /*vertical offset of tab text from top of tab*/
background-image:url(bluetab.jpg); /*URL to tab image */
background-repeat: no-repeat;
text-align: center;
}

speedracer
01-12-2005, 01:56 AM
you can put them in a table cell.