Warning: include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/rendezv/public_html/tutorials/html-tutorial03.php on line 1

Warning: include(http://rendezv0us.org/header.inc) [function.include]: failed to open stream: no suitable wrapper could be found in /home/rendezv/public_html/tutorials/html-tutorial03.php on line 1

Warning: include() [function.include]: Failed opening 'http://rendezv0us.org/header.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rendezv/public_html/tutorials/html-tutorial03.php on line 1

Coding A Website With Div Layers


NOTE: If you have spliced and/or image mapped an image in Image Ready when you saved it would have saved as a html document and the spliced images into a folder called images, you can open this html file and edit it to add the title, CSS, and div layers and any other text/features as most of the other coding has been provided.

Step 1: Start the html and create the head and title tags by typing:

<HTML>
<HEAD>
<TITLE> </TITLE>


Where between the title tags type in the title of the website, an example being:

<HTML>
<HEAD>
<TITLE> RENDEZV0US.org | Version 16 Feat. Justin Theroux </TITLE>


The title will appear at the top of the window, like so:


Step 2: Now its time to do the CSS for the site. Type in:
<style type="text/css"> <!--
A:link
{ text-decoration:none; color: #COLOR; font-weight: bold}
A:visited
{ text-decoration:none; color: #COLOR; font-weight: bold }
A:active
{ text-decoration:none; color: #COLOR; font-weight: bold }
A:hover
{ text-decoration:none; color: #COLOR; font-weight: bold}

body { background-color:#COLOR;
font-family: FONT;
color: #COLOR;
font-weight: normal;
font-size:8pt;

scrollbar-face-color:#COLOR;
scrollbar-highlight-color:#COLOR;
scrollbar-3dlight-color:#COLOR;
scrollbar-darkshadow-color: #COLOR;
scrollbar-shadow-color:#COLOR;
scrollbar-arrow-color: #COLOR;
scrollbar-track-color: #COLOR}
--></style>
</head>
Where is says COLOR replace it with the colour code you would like there, where it says FONT type in the name of the font you want, you may also change any other values as you please. NOTE that the </head> ends the head tags.

If you are not using an colour for the background and an image use:
{background: url('BACKGROUND URL'); Instead of background-color:#COLOR;


So far my coding looks like this:
<HTML>
<HEAD>
<TITLE> RENDEZV0US.org | Version 16 Feat. Justin Theroux </TITLE>
<style type="text/css"> <!--
A:link
{ text-decoration:none; color: #7F2441; font-weight: bold}
A:visited
{ text-decoration:none; color: #7F2441; font-weight: bold }
A:active
{ text-decoration:none; color: #7F2441; font-weight: bold }
A:hover
{ text-decoration:underline; color: #790026; font-weight: bold}

body { {background: url('images/sauve_04.gif') repeat-y;
font-family: veranda;
color: #000000;
font-weight: normal;
font-size:8pt;

scrollbar-face-color:#FFFFFF;
scrollbar-highlight-color:#000000;
scrollbar-3dlight-color:#000000;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color:#000000;
scrollbar-arrow-color: #FFFFFF;
scrollbar-track-color: 000000}
--></style>
</head>

Step 3: It is now time to begin the body codes by typing:

<body bgcolor="#COLOR" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">



Step 4: Insert your banner. You will not need to insert a banner if Image Ready has already provided you with the coding. To insert you banner type the following code then unsert the URL of your image between the "'s.

<img src="IMAGE LINK HERE">



Step 5: Creat you div layers by typing:

<div id= NAME style="position:absolute; top:##px; left:##px; width:##px; height:##px; overflow:CHOICE" > ALL YOU TEXT AND CONTENT HERE </div>


Where it says NAME replace it with the name of the div layer (eg: content or sidebar), where it says ## replace it with you values to where you want your div layers to go, top and left refer to how far for the top/left it will appear, and width and height if how wide and high the div layer will be. Where it says overflow and choice, put you choice in, no will make the div layer expand when it needs room and auto will make a scroll when it is to big.
Do the same as above for each layer, for example one for you side bar, and one for your content.

Step 6: End your BODY and HTML tags by typing:

</HEAD>
</HTML>



My finished product is this:



Warning: include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/rendezv/public_html/tutorials/html-tutorial03.php on line 218

Warning: include(http://rendezv0us.org/footer.inc) [function.include]: failed to open stream: no suitable wrapper could be found in /home/rendezv/public_html/tutorials/html-tutorial03.php on line 218

Warning: include() [function.include]: Failed opening 'http://rendezv0us.org/footer.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rendezv/public_html/tutorials/html-tutorial03.php on line 218