COLLAGE LAYOUT CODING TUTORIAL
This is a tutorial for a collage layout. This is NOT for preppy layouts.In this tutorial, you'll be not only coding a layout, but splitting it into header, footer, style.css, and index pages for using php includes. This is how stylesheets are split too. This will save you time in the end.
CLICK HERE to learn more about php includes (it's a php includes tutorial of mine) if you don't already know about them than it might confuse you at first. They are amazing.
This tutorial should all make sense by the end. Try not to give up cause this sh!t isn't easy at first and it takes time and patience.
CLICK HERE for the finished layout. You can use this as a visual reference as you go.
THE STEPS: STYLE.CSS
1. Create a file called style.css This page will have the styling (like h1, affies, elites, so on) of your coding in it and the placement of your sections (header, content section, sidebar, footer, so on)Start putting in each piece of coding I give you below. I will explain each piece too!
----------- We will start out with the main body of your layout. -------------------
text-align: left;
background-color: #b0b0b0;
background-repeat: repeat;
background-attachment:fixed;
font-family: calibri;
font-size: 12px;
color: #888;
}
------------- This is the container of your layout. This is the ENTIRE layout, not just the individual sections like the content and sidebar sections. Basically the point of this is to keep the layout centered on a screen. ------------
margin: 0 auto;
width: 900px;
-------------- Now we're on to the header part of the coding. { click here for example of header } ---------
position: relative;
top:0px;
left: -7px;
}
---------- Now we're on to the sidebar section of the layout { click here for example of sidebar } -----------
position:absolute;
text-align: left;
padding: 2px;
background-color: #bbb;
top:470px;
left:659px;
width:245px;
}
---------- Now we're on to the content section of the layout { click here for example of content section } -----------
background-color: #bbb;
top:590;
left:-7px;
width:656px;
padding: 2px;
♥------------------------------------------------------♥
CLICK HERE for PART TWO of this tutorial
♥------------------------------------------------------♥
✿ Owner: Kayla