BrightNail
08-29-2003, 10:30 PM
Is there a way to call an image using CSS.
I have a dynamic site that deals with branding..and rather than put a bunch of IF ELSE statements around images...based on branding...I can just include a style sheet based on branding that will handle all the style classes in the pages..
for instance.
<td><style class="image_header1"></td>
this way, this call remains the same...except that I call in a diff. style sheet that defines ..."image_header1" differently depending on which brand....brandA might call a graphic that looks one way, brandB calls another graphic that looks another way....but the call stays the same...and I just have to create new brand css files to show branding..
thanks.
I have a dynamic site that deals with branding..and rather than put a bunch of IF ELSE statements around images...based on branding...I can just include a style sheet based on branding that will handle all the style classes in the pages..
for instance.
<td><style class="image_header1"></td>
this way, this call remains the same...except that I call in a diff. style sheet that defines ..."image_header1" differently depending on which brand....brandA might call a graphic that looks one way, brandB calls another graphic that looks another way....but the call stays the same...and I just have to create new brand css files to show branding..
thanks.