Debugging Pages

Force reload Hold down Shift and click the Reload button.orOpen the Chrome Dev Tools (F12). Then right-click the normal chrome refresh button and a menu will dropdown. Developer console Chrome: CTRL + SHIFT + I Edge: F12 View javascript console Chrome: CTRL + SHIFT + J Edge: CTRL + SHIFT + J Halt Javascript Chrome […]

Read More

Background Images

Background image and color fill Displaying An Image At A specific Postiion In The Background Displaying An Image Offset From Right Edge Multiple Background Images See here. Use image to fill both width and height Use image to fit width or height

Read More

Text

Text Align Line Height Set the height of each line (within a paragraph)  Set the gap after a paragraph of text

Read More

Text Effects

Outlined Text color: white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;      

Read More

echo a File

  Echo'ing the contents of a file //Get the url of a file and echo that file – this can be a remote web site file or a local one if (isset($_POST['url'])) { $url_string = $_POST['url']; $url_string = stripslashes(htmlentities(strip_tags($url_string))); echo file_get_contents("http://$url_string"); }      

Read More

Converting Arrays

Converting an array to individual variables Argument lists may include the … token to denote that the function accepts a variable number of arguments. The arguments will be passed into the given variable as an array; for example: You can use “…” with an array when calling functions to unpack the array or Traversable variable […]

Read More

Checkbox

Checkbox Example Handling in PHP Checkboxes with an array of values Get the submitted as an array Get the values as a comma separated string Styling Checkboxes https://www.w3schools.com/howto/howto_css_custom_checkbox.asp Greyed out, non-editable Just non-editable

Read More