Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > CSS & Printer

Reply
Thread Tools

CSS & Printer

 
 
Xavier Perseguers
Guest
Posts: n/a
 
      04-16-2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

I'm a newbie with CSS

I've defined this div id:

#content {
position: absolute;
left: 10px;
top: 181px;
width: 750px;
height: auto;
text-align: justify;
}

I also have a title before, a menu bar and so on, that's why there is
"top: 181px;"

Yet, I have another stylesheet for printing, that simply overrides
what's not good.

The problem is that my content may be really big (in term of height) and
my browser does not want to "cut" the content to print it on new pages:
it tries to fit all of my page on a single sheet of paper.

When I try to print with MS Internet Explorer, no problem, the text goes
on multiple sheets of paper, but with Firefox not!

What should I do?

URL if you want to see the problem: http://www.perseguers.ch/LaTeX/tableaux/

Thanks

Xavier Perseguers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAgCdrUUVNnsbn6BERAphnAJ4/RmNf0hN2T/atnrGwRPfqaOqiagCfV2lL
G7IVUJXA2gK8PHbWjPXINZ8=
=vWFK
-----END PGP SIGNATURE-----
 
Reply With Quote
 
 
 
 
Xavier Perseguers
Guest
Posts: n/a
 
      04-17-2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| #content {
| position: absolute;
| left: 10px;
| top: 181px;
| width: 750px;
| height: auto;
| text-align: justify;
| }

Could someone help please?

I've tried with

- - MS Internet Explorer 6 : OK for printing
- - Opera 7.? : OK for printing
- - Mozilla (last one) : as firefox 0.8 : it wants to fit all content on a
single page!

I repeat my question: I do have a really big content div tag (yet it is
no more an id but a class, ie #content -> .content)

How can I *force* mozilla and other mozilla-like browser to break
correctly my document when they try to print it?

Thanks

Xavier Perseguers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAgZNUUUVNnsbn6BERAnPCAJ4991nncnKNdhz5RI13F9 T3Q+MRowCcD7tL
qhJ6mz3tygqku4BPcqPTdP0=
=IviB
-----END PGP SIGNATURE-----
 
Reply With Quote
 
 
 
 
Toby A Inkster
Guest
Posts: n/a
 
      04-18-2004
Xavier Perseguers wrote:

> The problem is that my content may be really big (in term of height) and
> my browser does not want to "cut" the content to print it on new pages:
> it tries to fit all of my page on a single sheet of paper.
>
> URL if you want to see the problem: http://www.perseguers.ch/LaTeX/tableaux/


Probably caused by all that absolute positioning. Scrap it.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shared printer not found in add printer wizard =?Utf-8?B?YW50aG9ueQ==?= Wireless Networking 0 10-31-2004 06:49 AM
xp pro, printer will not install, xp error: "operation could notbe completed" when clicking on add printer psion Computer Support 1 02-21-2004 12:48 AM
Force Printing to a printer based on the given printer name Samuel Lee ASP .Net 0 11-11-2003 03:07 AM
Adding the same printer twice in XP (copying printer) cromi Computer Support 2 10-23-2003 05:50 AM
Help - Xerox C15 Printer printer Tom Mix Computer Support 1 07-13-2003 04:20 PM



Advertisments