Estilos de tablas HTML

You are viewing an old version of this article. View the current version here.

Las tablas sin estilo son como esta:

Column OneColumn TwoColumn ThreeColumn Four
FruitApplesOrangesGrapes
EntertainmentBooksRadioMovies
ExerciseRunningWalkingJumping

Para definir un estilo en una tabla incrústala entre etiquetas de estilo como esta:

<<style class="table-class">>
...la tabla va aquí...
<</style>>

Las siguientes clases de tablas están disponibles:

<<style class="borders">>
Column OneColumn TwoColumn Three
ApplesOrangesGrapes
BooksRadioMovies
RunningWalkingJumping

<<style class="borders-side">>
FruitApplesOrangesGrapes
EntertainmentBooksRadioMovies
ExerciseRunningWalkingJumping

<<style class="darkheader">>
Column OneColumn TwoColumn Three
ApplesOrangesGrapes
BooksRadioMovies
RunningWalkingJumping

<<style class="darkheader-side">>
FruitApplesOrangesGrapes
EntertainmentBooksRadioMovies
ExerciseRunningWalkingJumping

<<style class="darkheader-nospace">>
Column OneColumn TwoColumn Three
ApplesOrangesGrapes
BooksRadioMovies
RunningWalkingJumping

<<style class="darkheader-nospace-side">>
FruitApplesOrangesGrapes
EntertainmentBooksRadioMovies
ExerciseRunningWalkingJumping

<<style class="darkheader-nospace-borders">>
Column OneColumn TwoColumn Three
ApplesOrangesGrapes
BooksRadioMovies
RunningWalkingJumping

<<style class="darkheader-nospace-borders-side">>
FruitApplesOrangesGrapes
EntertainmentBooksRadioMovies
ExerciseRunningWalkingJumping

<<style class="newspaper">>
Column OneColumn TwoColumn Three
ApplesOrangesGrapes
BooksRadioMovies
RunningWalkingJumping

<<style class="newspaper-side">>
FruitApplesOrangesGrapes
EntertainmentBooksRadioMovies
ExerciseRunningWalkingJumping

<<style class="underheader">>
Column OneColumn TwoColumn Three
ApplesOrangesGrapes
BooksRadioMovies
RunningWalkingJumping

<<style class="underheader-lines">>
Column OneColumn TwoColumn Three
ApplesOrangesGrapes
BooksRadioMovies
RunningWalkingJumping

<<style class="sideheader">>
FruitApplesOrangesGrapes
EntertainmentBooksRadioMovies
ExerciseRunningWalkingJumping

<<style class="sideheader-lines">>
FruitApplesOrangesGrapes
EntertainmentBooksRadioMovies
ExerciseRunningWalkingJumping

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.