简体   繁体   中英

How Can I Make Right To Left Navbar In My Webform?

I'm just recently start Asp.net And now I'm gonna to make right to left navbar. Try some code but all was left to right.

in case you using bootstrap use : class="navbar-right"

in case you didn't use it you should better use it )

but if you still didn't want to you can use dir="rtl" in your nav header tag or creating class and use it like that

<!DOCTYPE html>
<html>
<head>
<style>
.rtl {
    direction: rtl;
}
</style>
</head>
<body>
   <Navbar class="rtl">your text
      ...
   </Navbar>
</body>
</html>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM