Search
 
SCRIPT & CODE EXAMPLE
 

HTML

Chakra ui center content table

<!-- just use textAlign="center" -->
<Table>
  <Thead>
    <Tr>
      <Th />
      <Th>First name</Th>
      <Th>Last name</Th>
      <Th textAlign="center">Participation</Th>
	</Tr>
	</Thead>
	<Tbody>
  	{participationData.map((participation, i) => (
      <Tr>
        <Td>{i}</Td>
        <Td>{participation.firstName}</Td>
        <Td>{participation.lastName}</Td>
        <Td textAlign="center">{participation.participation}</Td>
	  </Tr>
    ))}
  </Tbody>
</Table>
Comment

PREVIOUS NEXT
Code Example
Html :: make text bold js 
Html :: html download file from server to client 
Html :: links html 
Html :: html how to move element to the bottom right of page 
Html :: html mouse over text 
Html :: vue bootstrap row 
Html :: html lien téléphone 
Html :: Tooltip with Html attribute bootstrap 5 
Html :: change color of icon css 
Html :: fibonacci series in html 
Html :: how to use js in html 
Html :: how to change font colour in html 
Html :: html position div inside div 
Html :: default value input 
Html :: placeholder text html 
Html :: sending email by html 
Html :: alt html 
Html :: radio buttons 
Html :: accept vedio pdf files upload html 
Html :: ul html 
Html :: blink html 
Html :: bootstrap 4 text color 
Html :: on page load animation 
Html :: using svg in html 
Html :: form controller in bootstrap 
Html :: show html in select2 option 
Html :: how can you make a bulleted list with numbers in html 
Html :: a href rel 
Html :: swagger decimal number format 
Html :: Error: input is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`. 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =