Step 5

Sally Parzuchowski

Graphic Design Major User Interface Design Minor


front entrance drone pic

HOW TO STRUCTURE LAYOUT



You can structure pages using the following CSS...

Divs - Divisions (think of them like boxes). These boxes or sections, that can have their own formatting.

Width - Adjusts the width of elements on the page.

Float - Specifies that an element should be taken from the normal flow and placed along the left or right side of its container, where text and inline elements will wrap around it.


About Positioning of Divs

Static - Basic default. Fixed - Prevents element from moving or scrolling. Absolute - Allows you to place elements exactly where you want them by using the positioning attributes top, left, bottom, and right to set the location. Relative – relative to its place in the code.


<header1> HEADER </header1>

<header2> HEADER2 </header2>

<body> BODY </body>

<footer> FOOTER </footer>


Some HTML History




The HTML Sandwich Structure




Creating Links




Index Page


Again, if you will be using the SVSU Lab Computers, this will have to be done at the start of every class. If you are using your own computer, it will remember these settings and you will only have to enter this once.


We commonly refer to this as the home page, but to function properly it should be coded as index.html. Browsers automatically recognize that as the home page. Never save your home page as home.html. You will have to use special code for a browser to recognize it as the home page and it might not work with all browsers.