Categories
Css

Selection styling with CSS

One of the little known styling options is selection text styling with in the browser.Yes, it is possible to define color, background and text-shadow for text the user selects. The double colon :: CSS pseudo-element is required for styling. Windows provides a dark blue color for text selection and Mac provides a lighter blue color […]

Categories
Css HTML & HTML5 PHP / MySQL

Prevent Your CSS and JavaScript Files From Being Cached

Today’s post is about Preventing Css and Js Files being Cached on client Machine, we often change our css & js files to enhance our websites, due to browser cache, new changes will not reflect on client system to void this situations you can use the following method, however this method is not preferred in […]

Categories
HTML & HTML5

How to Centre a DIV Block Using CSS?

This post is About Centering A div Block Using Css, To Center a Div Block , you need to set left-margin and right-margin either in pixels or em or percentage units. For example if you have a div with class name container, set the margin to container left and right sides auto, set the container […]

Categories
Css

Useful CSS Generators List

Below is a list of some CSS generators that will help make your life as a web designer much easier. 1. CSS3 Generator My favorite, the CSS3 generator will allow you to create virtually every CSS3 feature out there (box shadow, box radius, text shadow, font-face, transitions, selectors, and gradients) it is pretty much the […]

Categories
Css

IE Fix: IE7 text-indent bug in CSS ?

When Making links with Background images to keep text visible to search engines or text-to-speech applications we use Text indent about large negative values to hide the anchor Text We Give. It works on all major browser except IE7. So, In order to fix This issue, we have to add the text-transform to uppercase or […]

Categories
Css

Cross browser Unselectable text Using Css?

In some special situations need to disable Text Selecting(copying) on the webpage. we can achieve this with JavaScript and CSS, below is the CSS trick.