Monday, March 29, 2010

CSS problem on .cfm page

I have a page at www.salleboise.com/yflier2006.cfm that
displays some icons

if a class is available to register for.



I'm trying to get it so the %26lt;a href%26gt; tag doesn't
display ANYTHING for these

icons, at least for now.



I have some additional css code for the rest of the links on
the site that

handles the %26lt;a href%26gt; tags, and those commands are
bleeding through.



Since the image names are dynamic, how can the css be done to
handle this?



Thanks!





CSS problem on .cfm page
Very rough outline, assign a class dynamically to an html
element.



%26lt;style%26gt;

.show{display:block;}

.hide{display:none}

%26lt;/style%26gt;

%26lt;cfloop query=''qrySomething''%26gt;

%26lt;cif qrySomething.classAvail%26gt;

%26lt;cfset style=''show''%26gt;

%26lt;cfelse%26gt;

%26lt;cfset style=''hide''%26gt;

%26lt;/cfif%26gt;

%26lt;span class=''#style#''%26gt;%26lt;img
stuff%26gt;%26lt;/span%26gt;%26lt;href stuff%26gt;

%26lt;/cfloop%26gt;

No comments:

Post a Comment