Jump to: navigation, search

HTML Line Right

From w3cyberlearnings

Contents

HTML - LINE RIGHT

Create vertical line at the right side of the box by using CSS.

HTML - Syntax LINE RIGHT

<style>
	#testtt {
		border-right: thick double #00F;
		width:400px;			
                height:400px;
	        background-color: burlywood;
}
</style>


Example TRY-IT

<!DOCTYPE html>
<html>
	<head>
		<title>right</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<style>
			#testtt {
				border-right: thick double #00F;
				width:400px;
				height:400px;
				background-color: burlywood;
			}
		</style>
	</head>
	<body>
      <div id="testtt">
			Horizontal line at right
		</div>
	</body>
</html>



Related Links


HTML LINES
  1. HTML - LINE TOP
  2. HTML - LINE Bottom
  3. HTML - LINE Left
  4. HTML - LINE Right
Navigation
Web
SQL
MISC
References