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]
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
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
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
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
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?
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
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
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,
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 {
10 matches
Mail list logo