If it's just for your own benefit, you can put the image on all your workstations and use a local file path in the image source <img src="c:\myruler.gif"> ... If it's for the benefit of lots of folks, I'd say stick with a regular image or html elements with style sheets... You might try something like this:
<style> #ruler { position:absolute; left: 0px; bottom: 0px; width: 1280px; height: 15px; border: solid black 1px; background-color: white; } rule { position: relative; width: 1px; height: 10px; background-color: black; } </style> <cfoutput><div id="myruler"> <cfloop index="x" from="25" to="1280" step="25"> <div class="rule" style="left: #x#;"></div> </cfloop></div></cfoutput> S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 > Does anyone have any ideas on if it is possible to encode an image into a > cfm? My guess it that it is impossible... but, thought I would ask. > I have a graphic ruler that is included in the bottom of all of my pages > via > onrequestend.cfm only if a cookie vale is set to active. I develop on > several servers and often off line as well. I would like to have this > ruler > available anytime any where. Is there a way of encoding the graphic > "inline" in the .cfm file? > I guess I could make a ruler with a HTML table... > Mark W. Breneman > -Macromedia Certified ColdFusion Developer > -Network / Web Server Administrator > Vivid Media > [EMAIL PROTECTED] > www.vividmedia.com > 608.270.9770 > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists