|
Another thing to bear in mind is that attributes assigned by CSS are not queryable by Javascript. You'll normally just get a null value if you try. If you want to query them from the gitgo, you'll need to run an onload function that sets your defaults. It sort of defeats the purpose of CSS for the things you intend to adjust or mess around with. Again, if you intend to mess seriously with this stuff and have versions that work with and without script enabled, and that work cross-browser, you may as well get a hammer and beat yourself in the head, so as to get used to the pain.
|