![]() |
| ||
| javascript inside css can we use javascript inside css classes, Because I want to get the browser window width to the css width atribute. Thanks |
| ||
| Re: javascript inside css you can use expressions but these are only picked up by internet explorer and are invalid css markup. .className |
| ||
| Re: javascript inside css Use the percentage styles to get the browser window width into styles. .classname1 {width: 100%;} |
| All times are GMT -4. The time now is 3:12 am. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC