1 reply [Last post]
nina
Offline
newbie
Last seen: 17 years 51 weeks ago
Joined: 2004-10-15
Posts: 1
Points: 0

I am very new to css. Is there a way to put the image reference in a css file and then refer it from a jsp to display the image. If yes, could someone please show how exactly that is done. Thanks!

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 5 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

Image references in CSS

Hi Nina,
You could put the image in your HTML and hide and display it with CSS and a scripting language. http://www.csscreator.com/css-forum/ftopic526.html

Or use the image as a background in CSS and hide the element that contains it.

Hope that helps[/code]