Hey Everyone, I am working on creating a page that will have a medical chart on the left and a form on the right. Management does not want the user to have to scroll. I originally layed this page out in tables, but having a hard time making the text area box 100% of the area open on the right side.
So i have been working on a CSS layout.. my first and i have a bit of scroll on the bottom. i have not added any controls or content to the page yet. Any help would be great.
So i have been working on a CSS layout.. my first and i have a bit of scroll on the bottom. i have not added any controls or content to the page yet. Any help would be great.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"[URL unfurl="true"]http://www.w3.org/TR/html4/strict.dtd">[/URL]
<html>
<head>
<style type="text/css">
FORM { FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 12px }
INPUT { FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 12px }
SELECT { FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 12px }
TEXTAREA { FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 12px }
TABLE { FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 12px }
TR { FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 12px }
TD { FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 12px }
html {
margin: 0px;
padding: 0px;
margin-left:0px;
margin-right:0px;
margin-bottom:0px;
margin-top:0px;
height:100%;
}
body {
margin:0px 0px 0px 0px;
height: 100%;
font-family:Arial, Helvetica, sans-serif;
}
.heading {
text-align: left;
margin-left:3px;
font-weight:bold;
font-size:18px;
}
.Chart {
margin-left: 0px;
margin-right: 306px;
margin-bottom:25px;
height: 100%;
border:solid;
border-width:2px;
}
.AddendumForm {
float: right;
padding: 0px 0px 0px 0px;
width: 305px;
height: 100%;
border:solid;
border-width:2px;
}
.footer {
padding-top: 0px;
text-align: center;
clear: both;
font-size:small;
}
.container {
height: 100%;
}
</style>
<title>Chart Details</title>
</head>
<body>
<div class="heading">Chart Details</div>
<div class="container">
<div class="AddendumForm">Form<br>Goes<br>Right<br>Here</div>
<div class="Chart">CHART HERE</div>
</div>
<div class="footer">Copyright HERE</div>
</body>
</html>