anoniem Geplaatst: 25 april 2004 Delen Geplaatst: 25 april 2004 Dag mensen, weer even een vraag waar ik niet op kan komen... Ik heb een tabel, met 1 cel. Hoe kan ik de text verticaal uitlijnen? En dan wel bovenaan? Ik dacht eerst met vertical-align, of text-align. Maar dat wil niet. Wie weet het wel? Alvast bedankt maar weer. Quote Link naar reactie
anoniem Geplaatst: 25 april 2004 Auteur Delen Geplaatst: 25 april 2004 [quote:618f07f78e="W3C - CSS level 2"]The "vertical-align" property of each table cell determines its alignment within the row. Each cell?s content has a baseline, a top, a middle, and a bottom, as does the row itself. In the context of tables, values for ?vertical-align? have the following meanings: [b:618f07f78e]baseline[/b:618f07f78e] The baseline of the cell is put at the same height as the baseline of the first of the rows it spans (see below for the definition of baselines of cells and rows). [b:618f07f78e]top[/b:618f07f78e] The top of the cell box is aligned with the top of the first row it spans. bottom The bottom of the cell box is aligned with the bottom of the last row it spans. [b:618f07f78e]middle[/b:618f07f78e] The center of the cell is aligned with the center of the rows it spans. [b:618f07f78e]sub, super, text-top, text-bottom [/b:618f07f78e] These values do not apply to cells; the cell is aligned at the baseline instead.[/quote:618f07f78e] Quote Link naar reactie
anoniem Geplaatst: 25 april 2004 Auteur Delen Geplaatst: 25 april 2004 Zucht... toch wel dus. Ik had em in de table class gezet. Maar dat moest natuurlijk in de td :) Toch bedankt :oops: Quote Link naar reactie
anoniem Geplaatst: 26 april 2004 Auteur Delen Geplaatst: 26 april 2004 mooi dit zocht ik ook :lol: Quote Link naar reactie
Aanbevolen berichten
Om een reactie te plaatsen, moet je eerst inloggen