Posts Tagged ‘shorthand’

CSS shorthand techniques very useful

Posted by jposwal on May 19th, 2009 under CSSTags: ,  • 1 Comment

Main advantages of using CSS is the large reduction in web page download time. Writing mulitple declarations and values in a single line of CSS code called CSS Shorthand Technique. 1.Backgrounds Background properties include background-color, background-image, background-repeat, background-position, You could write: background-color: #ccc; background-image: url(myimage.gif); background-repeat: no-repeat; background-position: top left; Becomes: background: url(myimage.gif) no-repeat top […]

 

Get Adobe Flash player