如何在同一行显示菜单在一侧和一侧在右侧?
问题描述:
我有一个菜单,我将每个链接放在td内的一个表中,并且链接在td内的每个链接从左侧移动到右侧。我想显示单独显示在右侧最右侧的注销按钮。
I have a menu I placed each link in a table inside td's and the links are displaced from left side to right side each link inside a td. I want to display the log out button to be displayed alone in the right side far right side.
答
在解决方案之前我想建议你请放置你的代码,所以我们可以判断你的确切问题。
你只需在你的css设置中尝试这个ul li {display:inline; / |文本对齐:权利; / |浮动:左;}
如果你遇到同样的问题,那么你需要发布你的代码。
Exactly before solution i would like to suggest you that please place your code so we could judge your exact problem.
further you just try this in your css settings ul li{display:inline; /| text-align:right; /| float:left;}
still if you are facing same problem then you need to post your code.
我自己解决了!
适用于float =left。
I 've solve it myself!
It works with float="left".