Re: [css-d] Unwanted underlines in image links (Firefox) :: updated testpages

2006-11-15 Thread francky
Roger Roelofs wrote: Erik, On Nov 10, 2006, at 11:26 AM, Erik Harris wrote: There are times when I'd like a link to contain both an image and text. I want the text to be underlined, as usual, but I don't want the image to be underlined. This works fine in most browsers, but Firefox

Re: [css-d] Unwanted underlines in image links (Firefox) :: updated testpages

2006-11-15 Thread Gunlaug Sørtun
francky wrote: But in case of html4.01 Transitional without dtd-declaration: http://home.tiscali.nl/developerscorner/css-discuss/img-and-text-hovering-b.htm I should go for my 2nd castle, which I like most of all. ;-) Note that such a declaration is the same as quirks mode to browsers,

Re: [css-d] Unwanted underlines in image links (Firefox) :: updated testpages

2006-11-15 Thread Chris Ovenden
On 11/15/06, Gunlaug Sørtun [EMAIL PROTECTED] wrote: I'd generally advice against quirks mode in any browser but IE6. Isn't it time we let quirks mode go altogether? You're not making the most of IE6's already impaired render engine, and inviting a lot of box model hacks. Means abandoning

Re: [css-d] Unwanted underlines in image links (Firefox)

2006-11-14 Thread Chris Ovenden
I agree with the img {display:block } tip. I always put that at the beginning of my stylesheets, and only make them inline if I really need it (which is almost never). I may be wrong, but I believe it's bad practise to enclose the image and text in the same a tag. Inevitably you get a bit of

[css-d] Unwanted underlines in image links (Firefox)

2006-11-13 Thread Erik Harris
I know this has been asked before, but the thread I found about this question didn't include a working answer. There are times when I'd like a link to contain both an image and text. I want the text to be underlined, as usual, but I don't want the image to be underlined. This works fine in

Re: [css-d] Unwanted underlines in image links (Firefox)

2006-11-13 Thread Roger Roelofs
Erik, On Nov 10, 2006, at 11:26 AM, Erik Harris wrote: There are times when I'd like a link to contain both an image and text. I want the text to be underlined, as usual, but I don't want the image to be underlined. This works fine in most browsers, but Firefox insists on underlining

Re: [css-d] Unwanted underlines in image links (Firefox)

2006-11-13 Thread francky
Erik Harris wrote: [...] Here's a page with numerous examples of what I'm talking about: http://www.eharrishome.com/halloween/pumpkins.html I've tried various variations of a img {text-decoration: none; border: none !important} with no luck. Nothing seems to turn off the rather unsightly