Categories
Css

HTML Cellpadding and Cellspacing in CSS

In an HTML table, We can already set the cellpadding and cellspacing of a table. But, what if we like to implement with the help of CSS? Let’s see that. Cell padding: This is used for formatting purpose that is used to specify the space needed between the edges of the cells and also in […]

Categories
Html

Href attribute for links: “javascript:void(0)” or “#”?

“javascript:void(0)” or “#”, these are two type by which we can call a JavaScript code. But, what do you prefer to do most? These are for a building a link that has the sole purpose of running JavaScript code. But, in terms of functionality, page loading speed, validation purposes, etc. It may come to our […]

Categories
Html

Why does HTML think “chucknorris” is a color?

Why does HTML think “chucknorris” is a color? Any unknown digit in a HTML color code are treated as  zero so using invalid characters in a color code shows different value. Missing or incorrect digits are treated as 0 in HTML color code. For example the values #F0F0F0, F0F0F0, F0F0F, #FnFnFn and FnFnFn are all […]

Categories
Css Css3

6 Free online CSS sprite generator

Image sprite is a collection of images put into a single image depends on particular position of a image. Basically CSS sprites are used for faster loading of your site. Read our previous article about CSS Image Sprites. There are few online CSS Sprite generator tool which is very handy to create sprites quickly. 1) […]