On 4 Jul, 2014
By
IT Support With
Comments Off on Table cell with two colour background – HTML & CSS – no script
Having a hard time creating a table cell with two colour background using only HTML & CSS and no script? Here is an example that should sort you out… The HTML <table> <tr> <td>cell 1</td> <td>cell 2</td> </tr> <tr> <td>cell 3</td>…
On 5 Aug, 2013
By
IT Support With
Comments Off on Cross-browser CSS box-shadow
Yet another quick CSS reminder, this time for cross-browser CSS box-shadow: .box-shadow { -moz-box-shadow: 10px 10px 10px #000; /* Firefox */ -webkit-box-shadow: 10px 10px 10px #000; /* Safari, Chrome */ box-shadow: 10px 10px 10px #000; /* CSS3 */ } However, all modern browsers now support box-shadow. So if you are using up to date version of Firefox, Safari or Chrome, it’s enough to…
On 14 May, 2013
By
IT Support With
Comments Off on Cross-browser box-sizing CSS code
This is a quick reminder for cross-browser box-sizing CSS code… textarea { -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ -moz-box-sizing: border-box; /* Firefox, other Gecko */ box-sizing: border-box; /* Opera/IE 8+ */ } Simply copy and paste the box-sizing CSS…
On 21 Sep, 2012
By
IT Support Newcastle With
Comments Off on Remove dotted border around links with CSS
Another quick reminder for some CSS that I always forget about but seem to need once or twice a year… How to remove dotted border around links with CSS: a { outline: none; }