Blog Archives

Use jQuery’s serialize method to save your coding time

Still now many peoples are  using the query string parameters while creating jquery code for posting their form using ajax method of jquery. We have to spend lot of time in creating the dataString value if the form has lot

Posted in jQuery Tagged with: ,

PHP cURL and its uses

cURL which  plays an important role in automating the tasks involving interaction between many web sites. cURL (Client for URLs) is free and open software that compiles and runs under a wide variety of operating systems. It is available as 

Posted in Php Tagged with:

Javascript for…in loop

Javascript for loop is used to do a set of operations many times. At the same time for…in is used to loops through properties of an object SYNTAX: for (variable in object) { //statements } EXAMPLE: OUTPUT: XXX 1 92.5

Posted in Javascript Tagged with:

Code for getting WordPress logged user from external php file

We have used a Session variable for getting the WordPress logged in user id from an external php file. But it didn’t work once after upgrading the wordpress. Obviously the session variable setting page was overwritten by new wordpress update.

Posted in Php Tagged with:

How to apply CSS background styles in HTML

To make your web page look better than before apply the following CSS properties to sytle your code: background-color background-image background-repeat background-position BACKGROUND COLOR The background-color property specifies the background color to your page. EXAMPLE: BACKGROUND IMAGE The background-image property

Posted in CSS Tagged with:

How to use CSS inline and internal style sheet

CSS has 3 types of style sheets Inline Stylesheet Internal Stylesheet External Stylesheet INLINE STYLESHEET Inline CSS has the highest priority out of external, internal, and inline CSS. This means that you can override styles that are defined in external

Posted in CSS Tagged with: ,

CSS External style sheet

EXTERNAL STYLE SHEET When using CSS it is preferable to keep the CSS separate from your HTML. Placing CSS in a separate file allows the web designer to completely differentiate between content (HTML) and design (CSS). External CSS is a

Posted in CSS Tagged with:

Difference between CSS id and class

In addition to setting a style for a HTML element, CSS allows you to specify your own selectors called “id” and “class”. CSS ID SELECTOR Id Selector is used to specify the style for a single or unique element. CSS

Posted in CSS Tagged with:

How to use CSS selectors

CSS selectors are the heart and soul of CSS. They define which HTML elements you are going to be manipulating with CSS code. The CSS syntax consists of a set of rules. These rules have 3 parts: a selector, a

Posted in CSS Tagged with:

Introduction to CSS

It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). It is a way to control the look and feel of your web page in an organized and efficient manner. With CSS

Posted in CSS Tagged with: ,