HTML

The lure of starting an eCommerce business with little or no investment, enormous growth potential, and 24/7 operation each year draws so many people globally to venture into online business.
| 3 min read
The problem: HTML elements have inconsistent sizes across different browsers. The solution: Set box-sizing for all elements to border-box. A long-time bane for web developers, Internet Explorer did one thing right: It sized boxes properly. Other browsers only look at the content when calculating the width of an HTML element, with everything else treated as surplus. A width: 200px div, with 20px padding and a 2px border, renders as 242 pixels wide.
Zyxware default image4
| 3 min read
It would be an understatement to say that the implementation of HTML 5 in Drupal 8 is much-awaited. The introduction of HTML 5 is a big step for the Drupal community, as nowadays, with the proliferation of new-age devices, websites are no longer viewed only on desktops but in mobile phones, smart phones, and tablets.
Zyxware default image4
| 5 min read
When developing a website we might often come across situations where we have to limit the entry into each text fields to a certain type. One of the common scenarios we run into when developing Drupal websites is to limit text fields to accept only numbers as its input. If you want to know how to limit a text field to accept only numbers as input then read on to find out more.
Zyxware default image4
| 2 min read
We had encountered a situation on one of our Drupal sites where we had to create HTML links which on clicking should point to different locations on a different page. We solved this problem by making use of the 'name' attribute of anchor tags. If you are facing the same scenario in your Drupal site and would like to know how to use the 'name' attribute of anchor tags to redirect links to a location on a different page then read on to find out more.
Zyxware default image2
While designing fixed width layouts it is advantageous to use percentage based width for inner containers in the layout to make it easy for easy scaling up of the layout for other widths. When doing so you should be very careful about setting the actual percentage values. The percentage based width should result in a whole integer as the width. If not, you will end up with fractions as widths of containers leaving the rounding off to the browsers.