TenPixelsLeft TenPixelsLeft
Toggle navigation
  • Magento
  • Code Snippets
    • WordPress Snippets
    • Magento Snippets
    • PHP Snippets
    • HTML Snippets
    • CSS Snippets
    • Javascript Snippets
  • WordPress
  • PHP & MySQL
  • HTML & CSS
  • Javascript
  • Magento
  • Code Snippets
  • WordPress
  • PHP & MySQL
  • HTML & CSS
  • Javascript
TenPixelsLeft ×
All Articles » Code Snippets » HTML Snippets

HTML Snippets

Short and to the Point, Useful Snippets of Code

  • WordPress
  • Magento
  • PHP
  • HTML
  • CSS
  • Javascript

Prevent IE9 Launching in Quirks Mode

Published: April 8, 2017 0 Comments

Whilst testing a website or web app using browserstack for example, you may get some unexpected behaviour with IE9 launching in quirks mode.

Read More
Snippet

Prevent Mobile Browsers Converting All Numbers into Telephone Links

Published: March 27, 2017 0 Comments

Most, if not all of the mobile devices today will parse telephone numbers found in the content of a web page and convert them into links. The links when clicked by a user will instruct the native phone app to make a call, using the “tel:” protocol.

Read More
Snippet

Recent

  • Include a CSS Media Query Responsive Breakpoint Debugger in Your Project
  • Build a Cookie Consent Popup Using JavaScript and a Bootstrap Modal
  • Get the Distance from the Top of an Element to the Top of the Window with Javascript
  • Check If a String Is a Valid MySQL Date in PHP
  • Generate Random String for a Given Length in PHP

Most Viewed

  • Build a Cookie Consent Popup Using JavaScript and a Bootstrap Modal 11,526 views
  • Prevent Body Scroll When Positioning a Fixed Element in IOS 11,323 views
  • How to Remove the Yellow Input Background Colour for Chrome Autocomplete 7,443 views
  • Target IE10 or IE11 Using Javascript 3,259 views
  • Set Posts per Page for a Custom Post Type and It’s Taxonomy in WordPress 2,862 views

Tags

  • Snippet15
  • jQuery05
  • Magento 105
  • CSS304
  • Bootstrap04
  • Article04
  • Tutorial04
  • HTML03
  • IE Bugs03
  • Mobile Devices03
  • PHP Helpers03
  • LESS02
  • Media Queries02
  • Mobile First02
  • SEO02
  • SASS02
  • SQL02
  • SVG02
  • Date02
  • Time02
  • Debugging01
  • Breakpoints01
  • Tools & Utilities01
  • Navigation01
  • WP Query01
  • Responsive Images01
  • Responsive01

Sponsored

TenPixelsLeft is designed, developed and written by Dan De Luca | TenPixelsLeft ©2017