[css-d] Print stylesheet/alt text

2006-07-08 Thread Bart Feenstra
The 'problem' with your solution is that you now have duplicate content on a page and as far as I know there is no way to completely hide the span for all browsers (even text browsers) using CSS. __ css-discuss [EMAIL PROTECTED]

Re: [css-d] Print stylesheet/alt text

2006-07-08 Thread Rick den Haan
Shelly, Design Groups schreef: What I want to do is display the alt text for my images, instead of the images themselves, in the printed page. I don't want any images to print out at all - just the text. Interesting problem. Have you considered image replacement? If you want it to be pure

[css-d] Print stylesheet/alt text

2006-07-08 Thread Bart Feenstra
Never rely on Javascript for such specific things. Try to only use it for extra features on a website, not for essential things like image replacement. A good site should function under all circumstances. It should work even when one item of the trinity (HTML, CSS and JS, but in fact HTML is never

Re: [css-d] Print stylesheet/alt text

2006-07-08 Thread francky
Bart Feenstra wrote: [EMAIL PROTECTED]:] The 'problem' with your solution is that you now have duplicate content on a page and as far as I know there is no way to completely hide the span for all browsers (even text browsers) using CSS. That's a disadvantage indeed. To avoid double content

Re: [css-d] Print stylesheet/alt text

2006-07-01 Thread francky
Design Groups wrote: I've seen a lot of requests (in my searches for this answer) for people who want to display background images with CSS. It seems I want something different, and I can't seem to find the answer to this. I'm hoping you all can help :) What I want to do is display the alt

Re: [css-d] Print stylesheet/alt text

2006-07-01 Thread Ingo Chao
francky wrote: http://home.tiscali.nl/developerscorner/css-discuss/test-no-print-images.htm. PS I don't understand why Opera is showing the body-background (color and img) while turned off in css at print (in FF and IE no problems here). Maybe an Opera-specialist in the list can tell?

Re: [css-d] Print stylesheet/alt text

2006-07-01 Thread Gunlaug Sørtun
francky wrote: I don't understand why Opera is showing the body-background (color and img) while turned off in css at print (in FF and IE no problems here). Maybe an Opera-specialist in the list can tell? Depending on Opera version..? Older versions did print screen-style background, unless

Re: [css-d] Print stylesheet/alt text

2006-07-01 Thread Design Groups
Thanks Andrew :) I need something more cross-browser compatible though :( I did do something that's a bit ugly but it works great - thought I would share in case anyone else needed the idea for future reference (or can improve upon it!) Basically, I created a print class in my stylesheet - in

[css-d] Print stylesheet/alt text

2006-06-30 Thread Design Groups
I've seen a lot of requests (in my searches for this answer) for people who want to display background images with CSS. It seems I want something different, and I can't seem to find the answer to this. I'm hoping you all can help :) What I want to do is display the alt text for my images,

Re: [css-d] Print stylesheet/alt text

2006-06-30 Thread Andrew Gregory
On Fri, 30 Jun 2006 10:38:42 +0800, Design Groups [EMAIL PROTECTED] wrote: What I want to do is display the alt text for my images, instead of the images themselves, in the printed page. The CSS way of doing that is to add something like the following to your print styles: img {