CSS rocks!! It opens the doors to interacting with all your HTML programmatically. When you get the hang of modifying simple things like border styles and positioning you start to find that almost everything in your web page can be scripted. For instance you can use a series of DIV's to construct a menu. Through CSS you can define an "off" state background color and use the DOM to switch the color when the user rolls their mouse over the contents of the DIV. <div style="background-color:CCCCCC" onmouseover="this.runtimeStyle.backgroundColor='FF0000'" onmouseout="this.runtimeStyle.backgroundColor=''">text</DIV> This is super fast and uses built in functionality that the browser( dodgy IE5.5/NS6 ) supports...because of the thought put into the CSS API you can start doing whacky things when you get the hang of it: I just found this out myself; You can have a xml file that contains syndicated news from where ever. You can drop the XML DOM into the browser <XML SRC="http://localhost/xmlFile.xml"></XML> and through that API you can grab all the data, underlying structure, datatype declarations and any style information that came with the XML document. this means you can script connectivity between HTML,CSS,XML,XSL,Flash (flash likes xml) anything...So outside of font definitions there is a freakin shed load you can do with CSS. there is something new everyday on MSDN and it gets more wiggy with things like VML/SVG which allows you to use CSS to exactly construct interfaces with no HTML. Go into word and start drawing...look at that source code...vml...see what you can do in word...everything there is scriptable....svg poses to allow for photoshop filtering via script...err..CSS..err..javascript phewph *breath* Cheers, Emilio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
