Why is my Bootstrap code not working?

后端 未结 3 1287
死守一世寂寞
死守一世寂寞 2021-01-03 02:30

Tonight I decided to give Bootstrap a try (only been doing CSS/HTML for about two weeks), but I\'m running into a problem. For whatever reason, it doesn\'t seem like my HTML

相关标签:
3条回答
  • 2021-01-03 02:46

    You Need to look at the file structure of how bootstrap files are added:

    http://twitter.github.com/bootstrap/getting-started.html#file-structure

    0 讨论(0)
  • 2021-01-03 02:47

    Are all the files in the right folders? You are using relative url:s, can be confusing if you just started to code. How is your folder structure? Are the index.html and the css folder in the same directory?

    0 讨论(0)
  • 2021-01-03 02:57

    try add "style="display: block; position: static; margin-bottom: 5px; *width: 180px"

    <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px; *width: 180px;">
                <li><a tabindex="-1" href="#">Action</a></li>
                <li><a tabindex="-1" href="#">Another action</a></li>
                <li><a tabindex="-1" href="#">Something else here</a></li>
                <li class="divider"></li>
                <li><a tabindex="-1" href="#">Separated link</a></li>
              </ul>
    
    0 讨论(0)
提交回复
热议问题