Daily Archives: January 15, 2016

Centering a div between a div floating left and a div floating right – Responsively

Here is what I ended up using for the CSS <style> #contain { width: 100%; padding: 0; margin: 0; display: table; } #left, #right { text-decoration: none; display: table-cell; width: 310px; text-align: center; background: #FF9000; color: #FFFFFF; padding: 2% 0; … Continue reading

Posted in browser, CSS, Joomla | Leave a comment

CSS transitions – Background Color

Here is an example using a class .someclass { -webkit-transition: background-color 2s; -moz-transition: background-color 2s; -o-transition: background-color 2s; transition: background-color 2s; } .someclass:hover { background-color: #new color; } This page helped me get it working. transition Here is a link … Continue reading

Posted in Uncategorized | Leave a comment

Make a div / div tag a hyperlink or link

This tip is very helpful with today’s web where a lot of the graphic stuff such as drop shadows and gradients are being done through CSS. <div onclick=”location.href=’newurl.html’;”>&nbsp;</div> New Window: <div onclick=”window.open(‘newurl.html’,’mywindow’);” style=”cursor: pointer;”>&nbsp;</div>   I hope this helps someone … Continue reading

Posted in Uncategorized | Leave a comment