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 […]
All posts by
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
Indicating organisation logo for use in search results
Google using schema.org markup for organization logos
Username and password in URL’s
An Example rtsp://myusername:[email protected]:554/axis-media/media.amp?resolution=1280×720
Text
Text Align Line Height Set the height of each line (within a paragraph) Set the gap after a paragraph of text
Text Effects
Outlined Text color: white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
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"); }
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 […]
Draw Box
<div style="width:20px; height:6px; background: #FF0000;"></div>
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