Question: Recreate the following image using floats. This is a positioning exercises, please provide the proper css code. This is the base of the code: Positioning

Recreate the following image using floats. This is a positioning exercises, please provide the proper css code. This is the base of the code:

Positioning Lab

* {

margin: 0px;

padding: 0px;

}

body {

background-color: #ECECEC;

font-weight: bold;

font-family: Tahoma, Geneva, sans-serif;

color: #FFF;

text-align: center;

line-height: 24px;

}

#wrapper {

background-color: #FFF;

border-top-width: 1px;

border-right-width: 1px;

border-bottom-width: 1px;

border-left-width: 1px;

border-top-style: solid;

border-right-style: solid;

border-bottom-style: solid;

border-left-style: solid;

width: 800px;

margin-right: auto;

margin-left: auto;

}

#red {

background-color: #900;

}

#green {

background-color: #090;

}

#blue {

background-color: #00F;

}

#purple {

background-color: #63C;

}

#footer {

background-color: #666;

}

h1 {

color: #000;

font-weight: normal;

padding: 50px;

}

Absolute 2

Red

Green

Blue

Purple

Recreate the following image using floats. This is a positioning exercises, please

Red Green Absolute Positioning 1 Footer Blue Purple

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!