:: Forum >> Version 1 >>

Style Sheets

I have been trying to find out if it's possible to use 2 grid with different style sheets on the same page can anyone help?
Friday, June 10, 2005
<style>
#grid1 {height250pxborder:1px insetbackgroundwhite}
#grid2 {height90pxborder1px insetbackgroundwhite}
#grid1 .active-column-{width50px;}
#grid2 .active-column-{width100px;}
#grid1 .active-column-{width170pxbackground-color:#E9E9E9;}
#grid2 .active-column-{width180px;}
#grid1 .active-column-{width32px; }
#grid2 .active-column-{width200px;}
#grid1 .active-column-{width55pxbackground-color:#E9E9E9;}
#grid2 .active-column-{width50px;}
#grid1 .active-column-{width60px;}
#grid2 .active-column-{width50px;}
</
style>
<
script>
var 
obj = new Active.Controls.Grid;
obj.setId("grid1");
// you write rest as you would...
document.write(obj);

var 
obj2 = new Active.Controls.Grid;
obj2.setId("grid2");
// you write rest as you would...
document.write(obj2);
</
script>
 
hope this would help...
hob
Friday, June 10, 2005
Thanks
Monday, June 13, 2005



This topic is archived.

Back to support forum

Forum search