Annoying IE Compatability Mode
I recently had to create a site for an education facility, and they turn on Compatibility mode for all their networked PCs, for legacy support. This was messing around with…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
I recently had to create a site for an education facility, and they turn on Compatibility mode for all their networked PCs, for legacy support. This was messing around with…
Say you are using Google Web fonts for some CSS. Well, if you don’t include the correct bits you may encounter this problem. Say, you use the Ubuntu font, for…
Had some CSS that worked in Chrome, but not Firefox or Opera. Firebug reported this: Turns out, that my media atributes were incorrect, media="screen print" will not work in FF…
Before you say it, I know there are better ways of streamlining your CSS based on the browser, but this is good to ‘know’ @media screen and (-webkit-min-device-pixel-ratio:0) { .element_class…
So you want a little funky AJAX loader? Add this to your JS main core file…: $(document).ready(function() { //initiate an ajax start message $(document).ajaxStart(function() { //show the message $('#ajax_loading_indicator').show(); });…
If you are trying to add a ‘total’ or a report footer and its getting split over the penultimate and final page, then just add this css to the element…
I wanted to add a style to a div, but I was sure that our extensive CSS would have a class I could use, thus saving myself from increasing the…
Say you want to position something within its container, then the element you are trying to position needs to have: position: absolute; But the parent container can simply have: position:…
I need this quite often so I thought I would put it on my site. Nothing more, nothing less. (Click it to make it bigger)