bootstrap-Zeilen und Spalten funktioniert nicht

Egal, was ich scheinen, um den Inhalt nie in Spalten angezeigt, immer nur einen vertikalen Stapel. Könnt Ihr überprüfen, meinen code? Vielleicht ist es etwas, was ich bin fehlt?

<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <title>My Website</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <!-- Bootstrap -->
        <link href="css/bootstrap.css" rel="stylesheet">
        <script src="js/respond.js"></script>
    </head>
    <body>
        <!-- row 1 -->
        <div class="row"> 
            <a href="#"><img src="img/logo.png" alt="Wisdom Pets. click for home."></a>
            <img src="img/animals.jpg" alt="">
        </div>
        <!-- end row 1 -->
        <!-- row 2 -->
        <div class="row">
            <h1> We treat your pets like our own</h1>

            <p>At Wisdom Pet Medicine, we strive to blend the best in traditional and alternative healing techniques to diagnose and treat companion animals, including dogs, cats, birds, reptiles, rodents, and fish.</p>
        </div>
        <!-- end row 2 -->
        <!-- row 3 -->
        <div class="row">
            <div class="col-md-3">
                <p>
                    <img src="img/gsd.jpg" alt="">
                </p>
                <h4>Thanks for helping our German Shepherd</h4>

                <p>During the summer, my German Shorthair Pointer, Tonto, began to have severe redness and itching on his belly and feet. Through diagnostic testing, we learned that Tonto is severely allergic to over a dozen kinds of grass pollens.</p>
                <p><a href="#">Read more >></a>
                </p>
            </div>
            <div class="col-md-3">
                <p>
                    <img src="img/kitten.jpg" alt="">
                </p>
                <h4>Our diabetic kitty is better</h4>

                <p>When Samantha, our sweet kitten, began sleeping all the time and urinating excessively, we brought her to see the specialists at Wisdom. After running a blood test, Dr. Winthrop confirmed what we all feared – Samantha was showing signs of diabetes.</p>
                <p><a href="#">Read more >></a>
                </p>
            </div>
            <div class="col-md-3">
                <p>
                    <img src="img/bulldog.jpg" alt="">
                </p>
                <h4>Our grape-loving dog</h4>

                <p>The staff at Wisdom worked tirelessly to determine why our three-year old bulldog, Roxie, started going into sudden kidney failure. They stabilized her and provided fluids until her kidneys were again functioning normal, but it was still a mystery as to what caused her health to decline so quickly.</p>
                <p><a href="#">Read more >></a>
                </p>
            </div>
            <div class="col-md-3">
                <p>
                    <img src="img/goldfish.jpg" alt="">
                </p>
                <h4>A dog antibiotic cured our fish</h4>

                <p>Wisdom Pet Medicine is the only clinic around that will even book pet fish for appointments. When our 13-year old goldfish, McAllister, turned from silvery white to an angry red, we called around, urgently trying to find a veterinarian who could help. Wisdom not only got us in the same day, but also was able to diagnose McAllister as having a severe case of septicemia.</p>
                <p><a href="#">Read more >></a>
                </p>
            </div>
        </div>
        <!-- end row 3 -->
        <!-- row 4 -->
        <footer class="row">
            <p>This not a real veterinary medicine site, and is not meant to diagnose or offer treatment. Please see your veterinarian for all matters related to your pet's health.</p>
            <p>Wisdom Pet Medicine is a training brand owned by lynda.com.</p>
        </footer>
        <!-- end row 4 (footer) -->
        <!-- javascript -->
        <script src="js/jquery-2.1.1.js"></script>
        <script src="js/bootstrap.min.js"></script>
    </body>
</html>

...Auch die Bootstrap-3-Dateien, die ich heruntergeladen von der Homepage verschlüsselt sind? Ich habe nicht in der Lage, um Sie zu verschieben, zu kopieren oder Bearbeiten Sie Sie?

Habe ich versucht Rechtsklick > Eigenschaften > erweitert > un-check-Verschlüsselung

aber Sie erzählte mir, dass ich nicht die Berechtigung habe? Gibt es eine Möglichkeit dieses Problem zu beheben?

Du bist wahrscheinlich auch nicht das CSS richtig. Sind Sie auf den großen "Download Bootstrap" - button von getbootstrap.com/getting-started ? Sie können auch verwenden Sie die CDN nur unten, um loszulegen. Zweitens, stellen Sie sicher, dass NUR Elemente innerhalb einer .row sind .col- Elemente. Ansonsten werden Ihre Ränder werden nach oben geschraubt.
Eigentlich gibt es nichts falsch mit Ihrem code. Alles, was Sie tun müssen, ist, erhöhen Sie die Größe Ihres Browsers(bei der Anzeige in einem kleinen Fenster breitete es über den gesamten desktop), dann würden Sie es sehen, wie es gemeint war, angezeigt werden.

InformationsquelleAutor user3429394 | 2014-07-25

Schreibe einen Kommentar