Search code examples
htmlcsswebblock

HTML box of colour is not showing up


See here: http://ryanteaches.com/gcsechemistry.html

I am trying to get a box of colour sitting just above the black box at the bottom. But I cant seem to get the colour to show for some reason. Have I missed something?

.subscribebox{
	display:block;
	overflow:auto;
	background-color: #dc2b2b
	width:100%;
	height:220px;
	margin-bottom: 220px; 
	position: relative;

Cheers, Ryan


Solution

  • Need a semicolon -- ; -- after your color is set.

    background-color: #dc2b2b;