Column width CSS not working -- please help!
Hi, I followed the advice in another thread about how to set column widths, but unfortunately it doesn't seem to work. Here is my code, what am I doing wrong? It doesn't seem to matter where I put the <style> tag either. Thanks in advance!
<html>
<head>
<!-- include AW stylesheet and script -->
<link href="ActiveWidgets/runtime/styles/xp/aw.css" rel="stylesheet" type="text/css" ></link>
<style>
.active-column-1 {width:400px}
</style>
<script src="ActiveWidgets/runtime/lib/aw.js"></script>
</head>
<body>
<script>
var myHeaders = <?php echo aw_headers($dataset); ?>
var myCells = <?php echo aw_cells($dataset); ?>
var obj = new AW.Grid.Extended;
obj.setSize(800,800);
obj.setHeaderText(myHeaders);
obj.setCellText(myCells);
obj.setColumnCount(myHeaders.length);
obj.setRowCount(myCells.length);
document.write(obj);
</script>
Hello world!
</body>
</html>
<html>
<head>
<!-- include AW stylesheet and script -->
<link href="ActiveWidgets/runtime/styles/xp/aw.css" rel="stylesheet" type="text/css" ></link>
<style>
.active-column-1 {width:400px}
</style>
<script src="ActiveWidgets/runtime/lib/aw.js"></script>
</head>
<body>
<script>
var myHeaders = <?php echo aw_headers($dataset); ?>
var myCells = <?php echo aw_cells($dataset); ?>
var obj = new AW.Grid.Extended;
obj.setSize(800,800);
obj.setHeaderText(myHeaders);
obj.setCellText(myCells);
obj.setColumnCount(myHeaders.length);
obj.setRowCount(myCells.length);
document.write(obj);
</script>
Hello world!
</body>
</html>
Jim
August 19,