PDA

View Full Version : Images inside a Jump Menu ( ie CSS Issue )



alinga
March 18th, 2007, 10:39 PM
G'Day,

I didn't think this possible but I've managed to insert images inside a HTML Jump menu. It works okay in Firefox but good old IE is making its own rules again (wont display the image)

Does anyone know anything about this or could offer suggestions?

Here is the URL,
http://int.bartercard.com/?page=globalhome

Thought it would be cool to add country flag images in the jump menu for each country.

Regards
adrian

borrob
March 19th, 2007, 06:08 AM
hi i'm not sure how you define your images but looking at your source code under ie
i don't see where the image is:
<option id="imguk" value="http://www.bartercard.com/uk/">&nbsp;&nbsp;&nbsp;&nbsp; United Kingdom</option>
no image defined here.....?

alinga
March 22nd, 2007, 05:59 AM
tidy hey!! You can not insert images in an <option > tag it won't work!

id="imguk" thats my class, in the css i've inserted a bg picture, no repeat and with enough right padding to expand the full length of your text.

Works a treat ------ well in non MikeROsoft browsers anyway.

Cheerio
adrian
www.alinga.com.au