Untitled
raw download clone
TEXT
views 22
,
size 890 b
<!DOCTYPE html>
<html>
<head>
	<title>Message Board</title>
	<link rel="stylesheet" type="text/css" href="hw3.css">
	<style>
		#main {
		  width: 350px;
		  height: 100px;
		  border: 1px solid #c3c3c3;
		  display: flex;
		}

		#main div:nth-of-type(1) {flex-grow: 4;}
		#main div:nth-of-type(2) {flex-grow: 1;}
		#main div:nth-of-type(3) {flex-grow: 1;}
		</style>
</head>
<body>
	<div id="main" class="my_style">
		<h2>Leave a message here</h2>
		<form action="/action_page.php">
			<label style="color:LavenderBlush" for="message">Type here:</label>
		  	<input type="message" id="message" name="message">
		  	<div><input type="submit" value="Add"></div>
		  	<div><input type="submit" value="Clear"></div>
		</form>
	</div>

	<div class="my_style">
		<h2>History</h2>
		<div>
			<input type="submit" value="Delete">
		</div>
	</div>
</body>
</html>
close fullscreen
Login or Register to edit or fork this paste. It's free.