View Single Post
Old June 25th, 2007, 11:49 PM
zaerymoghaddam zaerymoghaddam is offline
Authorized User
Join Date: Jun 2007
Location: Tehran, Tehran, Iran.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts

Hi arnabghosh

You should use this technique only when you have defined your stylesheets in an external CSS file and link it to your document as below in head section of document :

<link href="mystyle.css" rel="stylesheet" type="text/css"/>

'styleSheets' collection of 'document' object contains an array of 'styleSheet' objects that have been defined in this manner.

Good luck

Ehsan Zaery Moghaddam