The New Stuff

How to scale CSS background to desired dimensions

One can easily scale background in CSS to any dimension to fit its container. 100% CSS background is good looking and gives bump to your design. Here is how this can be done. #MyID { background-size: 70% 60%; /* 70% width and 60% height ...

How to cancel Ajax requests using jQuery

Since XMLHttpRequest ,or the equivalent, object is returned by jQuery, so you can simply use abort function. To cancel ajax requests you have to follow below code. var myRequest= $.ajax({ type: "POST", url: ...

How to generate unordered list without any bullets

By default unordered list have bullets. If you don’t need them, you can easily remove them by using following CSS code. ul { list-style-type: none; }   If you need to remove indentation too, this can be easily done by ...

How to disable resize property of textarea using css

Sometimes it seems very frustrating to keep textarea in resizable mode. You can disable this property very easily by simple CSS rule. To disable resizable in all textareas in a page, use textarea { resize: none; }     To ...