DOCTYPE html>
<html lang="en">
<head>
<style>
.left {
width: 200px;
height: 200px;
float: left;
background-color: blue;
}
.right {
margin-left: 200px;
height: 200px;
background-color: red;
}
style>
head>
<body>
<div class="father">
<div class="left">div>
<div class="right">div>
div>
body>
html>
DOCTYPE html>
<html lang="en">
<head>
<style>
.father {
position: relative;
height: 200px;
}
.left {
position:absolute;
width: 200px;
height: 100%;
background-color: blue;
}
.right {
position:absolute;
height: 100%;
left:200px;
right: 0;
background-color: red;
}
style>
head>
<body>
<div class="father">
<div class="left">div>
<div class="right">div>
div>
body>
html>
DOCTYPE html>
<html lang="en">
<head>
<style>
.father {
height: 300px;
width: 100%;
display: flex;
}
.left {
width: 300px;
height: 100%;
background-color: blue;
}
.right {
flex: 1;
height: 100%;
background-color: red;
}
style>
head>
<body>
<div class="father">
<div class="left">div>
<div class="right">div>
div>
body>
html>
DOCTYPE html>
<html lang="en">
<head>
<style>
.father{
height: 50px;
}
.left,.right,.main {
height: 100%;
}
.left {
width: 200px;
float: left;
background-color: red;
}
.main {
margin-left: 200px;
margin-right: 200px;
background-color: blue;
}
.right {
float: right;
width: 200px;
background-color: yellow;
}
style>
head>
<body>
<div class="father">
<div class="left">div>
<div class="right">div>
<div class="main"> div>
div>
body>
html>
DOCTYPE html>
<html lang="en">
<head>
<style>
.father{
position: relative;
height: 50px;
}
.left,.right,.main {
position: absolute;
height: 100%;
}
.left {
left: 0;
width: 200px;
background-color: red
}
.main {
left: 200px;
right: 200px;
background-color: blue
}
.right {
right: 0;
width: 200px;
background-color: yellow
}
style>
head>
<body>
<div class="father">
<div class="left">div>
<div class="right">div>
<div class="main"> div>
div>
body>
html>
DOCTYPE html>
<html lang="en">
<head>
<style>
.father {
display: flex;
height: 50px;
}
.left,.right,.main {
height: 100%;
}
.left {
width: 200px;
background-color: red
}
.main {
flex: 1;
background-color: blue
}
.right {
width: 200px;
background-color: yellow
}
style>
head>
<body>
<div class="father">
<div class="left">div>
<div class="main"> div>
<div class="right">div>
div>
body>
html>
```