Skip to content

Instantly share code, notes, and snippets.

@jw56578
Last active November 14, 2016 22:04
Show Gist options
  • Save jw56578/92223c17134d33434e5590bbc60c5f70 to your computer and use it in GitHub Desktop.
Save jw56578/92223c17134d33434e5590bbc60c5f70 to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=92223c17134d33434e5590bbc60c5f70
div{
}
#one{
width:50px;
height:100px;
background-color:yellow;
}
#two{
width:200px;
height:150px;
background-color:red;
}
#three{
width:50px;
height:150px;
background-color:pink;
}
#four{
width:50px;
height:200px;
background-color:blue;
}
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div id="one">
I like to be here
</div>
<div id="two">
i want to be on the right side of the yellow box<br/>
</div>
<div id="three">
i want to be directly under the yellow box
</div>
<div id="four">
I want to be under everyone
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment