wassim
wassim

Reputation: 5

bootstrap buttons coming out too small

hey guys i'm a newbie to web development and i have this little problem with bootstrap that i couldn't solve, it's two buttons that i put in the end of the page and they come out so small with the value attribute not showing, if anyone could help it'd be awesome

CODE

<body>
  <h1 id="title">Fiche recapitulatif</h1>
  <div class="container">
    <div class="row">
      <p ><strong>Vous êtes:</strong> <?php echo $_SESSION['nom'].' '.$_SESSION['prenom']; ?></p>
    </div>
    <div class="row">
      <p ><strong>Vous avez:</strong> <?php echo $_SESSION['age']; ?></p>
    </div>
    <div class="row">
      <p ><strong>Votre num de telephone:</strong> <?php echo $_SESSION['tel']; ?></p>
    </div>
    <div class="row">
      <p ><strong>Votre email:</strong> <?php echo $_SESSION['email']; ?></p>
    </div>
    <div class="row">
      <p ><strong>Vous êtes en:</strong> <?php echo $_SESSION['fil'];
      if ($_SESSION['année']=='1ére') {
        echo "1";
      }elseif ($_SESSION['année']=='2éme') {
        echo "2";
      }elseif ($_SESSION['année']=='3éme') {
        echo "3";
      }
      ?></p>
    </div>
    <div class="row">
      <p ><strong>Vous suivez cette année:</strong>   <?php
      echo '<ol>';
      foreach ($_SESSION['module'] as $element) {
        echo '<li>'.$element.'</li>';
      }
      echo "</ol>";
      ?></p>
    </div>
    <div class="row">
      <p ><strong>Vous avez réalisé</strong> <?php echo $_SESSION['projets']; ?> projets cette année.</p>
    </div>
    <form action="" method="post">
      <button class="btn btn-primary" value="Modifier">
      <button class="btn btn-primary" type="submit" name="val" value="Valider">
    </form>
</div>
</body>

OUTPUT enter image description here

Upvotes: 0

Views: 507

Answers (1)

jdavid05
jdavid05

Reputation: 245

You just have to close the button tags (as per my comment).

Upvotes: 1

Related Questions