Habe hier eine Tabelle gebaut die ich mittig oben in eine Section einfügen will . Vor einigen Stunden habe ich mir das noch einfach vorgestellt.
Aber ich bekomme sie von der Seite links nur zu einem Viertel verschoben
HTML
		
					
				<!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
  
    <style>
.oe {
    font-family: arial;
    color: #000;
    font-size: 14px;
    margin: 5px;
    height: 230px;
    width: 280px;
}    
/* }            
.centered-element {
    width: 300px;
    height: 30px;
    border-radius: 5px; 
 
 */
.oe table {
    margin-left: auto;
    margin-right: auto;
    border-color: #000;
}
.oe h3 {
    /* horizontal zentrieren */
    text-align: center;
    font-weight: bold;
  }
.oe th {
    padding: 5px;
    border-color: transparent;
}
.oe td {
    padding: 5px;
    border-color:transparent;
}
    </style>
</head>
<body>
    <section>
        <div class="container">
            <div class="row">
                 <div class="col-md-12 text-center">
             <div class="oe centered-element">
                 <table class="table">
                     <tbody>
                        <h3>Öffnungszeiten</h3> 
                       <tr>
                         <th  colspan="2">Mo + Mi + Fr</th>
                       </tr>
                       <tr>
                         <td colspan="2">11:00 - 14:00 und 17:30 - 22:30</td>
                     </tr>
                     <tr>
                         <th  colspan="2">Dienstag ist Ruhetag</th>
                     </tr>
                         <tr>
                         <th  colspan="2">Sa + SO</th>
                         <tr>
                         <td colspan="2">11:00 - 14:00 und 17:30 - 22:30</td>
                     </tr>
                 </tbody>
             </table>
             </div>
             </div>
            </div>
</section>
</body>
</html>ich steh auf dem schlauch
 
		 
		
		
	 
								
