2012-05-22 18 views
5

que tratan de hacer una tabla simple en delgadocarriles de error de sintaxis delgada

table class="table table-striped" 
    thead 
    tr 
     th username 

funciona bien, pero cuando intento agregar otra ª o tbody Tengo una sangría con formato incorrecto de error, por ejemplo, este código no hace trabajar para mí

table class="table table-striped" 
    thead 
    tr 
     th username 
     th provider 

o

table class="table table-striped" 
    thead 
    tr 
     th username 
    tbody 
    tr 
     td test 

¿alguien puede ayudarme?

+4

Por cierto, en lugar de 'table class =" table table-striped "' puede escribir 'table.table.table-striped', es decir, nombre sus clases en una cadena separada por el punto. Ahorre su tiempo :) – jdoe

Respuesta