Float for two



Oops, try again. Did you remember to float your <div> to the right?

div {
	height: 300px;
	width: 300px;
	border: 2px solid black;
	border-radius: 5px;
	background-color: #308014;
	/*Add your CSS here!*/
	float: left;

p {
	font-family: Verdana, sans-serif;
	font-size: 20px;
	width: 280px;
	/*Add your CSS here!*/
	float: right;

I seem to get a bunch of errors I can't figure out.. thanks guys..


your div should be floated to the right, and your paragraph to the left, you seemed to have swap it


The problem is that you got your floats backwards; it says float div to the right and p to the left


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.