Align radio buttons with label on one line

0 Comments

Use relative positioning for the input element and correct the top position of the input, based on the line-height of the element containing the input element. <!DOCTYPE html> < html> < head>     <meta charset="UTF-8">

Fix favicon error

0 Comments

When there is no favicon.ico in the root of your website, then the browser will automatically get a 404 favicon error. To prevent this error, you can add a transparent favicon.ico to the “head” tag

How to create a triangle with pure CSS and HTML

0 Comments

This post describes in 3 examples, how you can create a triangle with pure CSS and HTML.     HTML <br /> Example 1 <br /> <br /> <div class="example1"></div> <br /> Example 2 <br

Variable sized column with ellipsis in a table

0 Comments

If you want a column of a table in HTML to expand and you want the text to show "ellipsis" for overflowing text, you can use the solution found at:   http://stackoverflow.com/questions/17345158/variable-sized-column-with-ellipsis-in-a-table   Just give