tutoriallounge Posted on 20. Jan, 2010 | Comment in!
CSS (Cascading Style Sheet) is most important language technique for web designing and development, we mostly prefer in our modern designs where some new techniques also introduce like CSS3 and some third party scripts as well which can help in latest website designs.
Now CSS (Cascading Style Sheet) offering many advanced advantages which helping in table-less and web 2.0 designs, as you know number of websites about CSS tips, but we choose some very useful techniques which you cannot ignore as designer or developer.
Until IE finally supports the resizing of text in pixels, this is the best technique to gain full control over your font sizes. By setting the body
font-size to 62.5%, that will set your font size to 10 pixels. That way, 1em is equal to 10 pixels.
Although I typically then set my container
font-size to 1.2em, which in turn sets the
font-size to 12 pixels. But still, then you know that 1em is equal to 12 pixels.
CSS sprites is the technique of combing images to lessen the number of calls that need to be made to the server. Then you just shift the position of the background image to view the correct part of the image. May sound complicated, but it just takes a little math. Note: In both of these examples, I am using the Image Replacement technique discussed above.
If you enjoyed reading, consider sharing it on one of these social bookmarking sites.