467,910 Members | 1,795 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,910 developers. It's quick & easy.

Can I use CSS to affect the number of characters to display?

Good afternoon!

Here is my issue. I have a web page that will show a dialog between a
headquarter department and a branch. The dialog lines will be limited
to a as-yet-to-be-determined length, say 100 characters. However,
from this web page the client wants to be able to print the dialog,
showing the entirety of each dialog lines.

Can anyone see a way to use CSS to handle this; using the media:print
to show the entire dialog line? It would be cool if it could be done
this way, but I can't see how.

Any ideas, references, war stories, or good clean jokes would be
greatly appreciated.

Thanks,
Kathryn
Jul 20 '05 #1
  • viewed: 2528
Share:
2 Replies
Els
Kathryn wrote:
Good afternoon!
To you too :-)
Here is my issue. I have a web page that will show a dialog between a
headquarter department and a branch. The dialog lines will be limited
to a as-yet-to-be-determined length, say 100 characters. However,
from this web page the client wants to be able to print the dialog,
showing the entirety of each dialog lines.

Can anyone see a way to use CSS to handle this; using the media:print
to show the entire dialog line? It would be cool if it could be done
this way, but I can't see how.
Giving the part which isn't to be displayed on the site a
class, using a span, and then give this class the
display:none property in the screen stylesheet and don't do
that in the print stylesheet? Not sure if it works, haven't
tried out media:"print" styles at all yet.
Any ideas, references, war stories, or good clean jokes would be
greatly appreciated.


You've been here before! ;-)

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -

Jul 20 '05 #2
Els,

That is a brilliant idea! I don't know if it will work, either, but I
will give it a try and report back...

Thanks!

Kathryn
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

50 posts views Thread by The Bicycling Guitarist | last post: by
6 posts views Thread by tony wong | last post: by
9 posts views Thread by cw bebop | last post: by
2 posts views Thread by Sharon Traineanu via .NET 247 | last post: by
20 posts views Thread by SMG | last post: by
8 posts views Thread by Preben Randhol | last post: by
3 posts views Thread by somebody | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.