Answers for "html right align"

3

how to align elements horizontally in css

.row {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.block {
  width: 100px;
}
Posted by: Guest on April-23-2020
4

html align right

<p style="text-align:right;">Example</p>
Posted by: Guest on September-16-2020
21

how to center text in css

.class {
	text-align: center;
}
Posted by: Guest on February-15-2020
0

html align right

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Document</title>
   </head>

   <body>
      <h1>Tutorial</h1>
      <p style="text-align:center;">Learn for free</p>
   </body>
</html>
Posted by: Guest on October-26-2021
1

align centre

.headerTwoDiv{
			margin:1% auto;
			margin-right: auto; margin-left: auto; width: 21%; 
			padding-top: 11px;
		}
Posted by: Guest on September-07-2020

Browse Popular Code Answers by Language