By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,493 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,493 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.