Re: [css-d] href's and images

2005-09-21 Thread David Laakso
Sam Leathers wrote: I know I can use background: url(/path/to/image.gif), but whats the best way to have a different image for each href? .. URL: http://irc.gentux.org:8000/Contact-pg.html Sam Sam, I always trip on answering good questions. I do not know the best way to solve the

Re: [css-d] href's and images

2005-09-21 Thread Jim Davis
Sam, There is an interesting article at http://alistapart.com/articles/imagemap/that takes the old html image map concept and adapts it to the modern world of CSS. The idea is to use a single image for your menu and place absolutely positioned div's over each menu item. Worth a look. Jim On

Re: [css-d] href's and images

2005-09-21 Thread Gunlaug Sørtun
Sam Leathers wrote: I'm working on a website where I have a standard ul list for links in display: block; Currently, the links are img tags, but I'd like to use css to display the image. I know I can use background: url(/path/to/image.gif), but whats the best way to have a different image for

Re: [css-d] href's and images

2005-09-21 Thread Zoe M. Gillenwater
Gunlaug Sørtun wrote: Sam Leathers wrote: I'm working on a website where I have a standard ul list for links in display: block; Currently, the links are img tags, but I'd like to use css to display the image. I know I can use background: url(/path/to/image.gif), but whats the best way to

Re: [css-d] href's and images

2005-09-21 Thread Thierry Koblentz
Zoe M. Gillenwater wrote: If you want images to be clickable, then they are content, not decoration, and you should include them in the HTML source of your The other alternative is to use an image replacement technique. The advantage of this over sprites is that there is real text for each

[css-d] href's and images

2005-09-20 Thread Sam Leathers
I'm working on a website where I have a standard ul list for links in display: block; Currently, the links are img tags, but I'd like to use css to display the image. I know I can use background: url(/path/to/image.gif), but whats the best way to have a different image for each href? Do I need to