The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 568 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 568 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 744 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 744 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 884 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 884 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 884 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 884 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 2 - File: global.php(951) : eval()'d code PHP 8.3.26 (Linux)
File Line Function
/global.php(951) : eval()'d code 2 errorHandler->error
/global.php 951 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1016 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 1016 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5196 - File: inc/functions.php PHP 8.3.26 (Linux)
File Line Function
/inc/functions.php 5196 errorHandler->error
/global.php 1016 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.3.26 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 1016 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.3.26 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1404 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.3.26 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.3.26 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.3.26 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.3.26 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
TEMPLATE CONSTRUCTION - V - Printable Version

+- Forums (http://forum.notjustbrowsing.org:)
+-- Forum: WWW (http://forum.notjustbrowsing.org:/forumdisplay.php?fid=9)
+--- Forum: A Web Page (http://forum.notjustbrowsing.org:/forumdisplay.php?fid=10)
+--- Thread: TEMPLATE CONSTRUCTION - V (/showthread.php?tid=1300)



TEMPLATE CONSTRUCTION - V - abdulkarim - 10-27-2015

We will go through the process step by step, starting from the look and feel of the page outline first.

First thing to know is that a web page is written in two parts
Part 1: Head
Part 2: Body

Head: In this part instructions can be passed on to the reader of this page (a web browser) to follow, to be able to understand the instructions within Body part of the document. HTML , tag pair is used to mark the Head part of the page.

Body: This is where actual instructions are placed that make up a web page.
HTML
The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 568 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 568 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 744 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 744 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 884 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 884 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 884 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 884 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 2 - File: global.php(951) : eval()'d code PHP 8.3.26 (Linux)
File Line Function
/global.php(951) : eval()'d code 2 errorHandler->error
/global.php 951 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1016 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 1016 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5196 - File: inc/functions.php PHP 8.3.26 (Linux)
File Line Function
/inc/functions.php 5196 errorHandler->error
/global.php 1016 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.3.26 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 1016 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.3.26 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1404 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.3.26 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.3.26 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.3.26 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.3.26 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



, tag pair is used to mark the Body part of the page.

[attachment=43]
In part of our web page template ("index.html"), we are telling browser to look for "default.css" file for styling instructions in a sub-folder called "css".

In the "default.css" we have only one instruction about the body of the page and that is to set body's background to an image "background.jpg" that we placed in "images" directory.

Also, shown in this picture is "background.jpg" and 8x8 pixel image to be used as a background of the
The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 568 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 568 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 744 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 744 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 884 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 884 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 884 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 884 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 2 - File: global.php(951) : eval()'d code PHP 8.3.26 (Linux)
File Line Function
/global.php(951) : eval()'d code 2 errorHandler->error
/global.php 951 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1016 - File: global.php PHP 8.3.26 (Linux)
File Line Function
/global.php 1016 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5196 - File: inc/functions.php PHP 8.3.26 (Linux)
File Line Function
/inc/functions.php 5196 errorHandler->error
/global.php 1016 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.3.26 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 1016 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.3.26 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1404 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.3.26 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.3.26 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.3.26 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.3.26 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



of our web page.


RE: TEMPLATE CONSTRUCTION - V - abdulkarim - 10-27-2015

The result of actions taken in previous post is shown in the following picture

[attachment=44]

From above picture, it can be seen that the whole page is a body of the web page and background image that was 8x8 pixels in size is tiled over the whole body area of the page.

If you don't want to have a background color or a background image of your web page, you can omit

body
{

}

in your "default.css" document. It is all about styling of your page, however you want it to be.

If you want to know more about HTML or CSS, visit W3Schools