Define Printable Area Width for IE?
Moderator: General Moderators
Define Printable Area Width for IE?
The problem is that printing a website yields perfect results under Mozilla/Linux but not under IE/Windows.
In IE it ignores the right margin, so that the content is being cut off. Does anyone know whether this is IE-issue is solvable with CSS and if so, how?
Here's the link to the website:
http://dutrain.de/new/
In IE it ignores the right margin, so that the content is being cut off. Does anyone know whether this is IE-issue is solvable with CSS and if so, how?
Here's the link to the website:
http://dutrain.de/new/
Off the top of my head I don't know but here's a link to the MS site which lists every single object/method/property that IE can handle... you might find something in there.
http://msdn.microsoft.com/library/defau ... frame=true
It's one of my regular places of worship
http://msdn.microsoft.com/library/defau ... frame=true
It's one of my regular places of worship
- Derfel Cadarn
- Forum Contributor
- Posts: 193
- Joined: Thu Jul 17, 2003 12:02 pm
- Location: Berlin, Germany
Re: Define Printable Area Width for IE?
I just checked your site and noticed that in my Mozilla 1.4 (Linux) the rightmargin is being ignored too, so the content is cut off here too!patrikG wrote:The problem is that printing a website yields perfect results under Mozilla/Linux but not under IE/Windows.
In IE it ignores the right margin, so that the content is being cut off.
- Derfel Cadarn
- Forum Contributor
- Posts: 193
- Joined: Thu Jul 17, 2003 12:02 pm
- Location: Berlin, Germany
Can't you just set the margin of the <body> in CSS. body { margin:0px; } or body { margin-right:20px; } and so on.
Also, having the contents of your site within a 'container' object might help. For example create a DIV which is 700px wide and then put everything into that div <body><div class="container"> //website stuff goes in here </div></body>
May or maynot be of any use. However using these methods means I've never had any problems when it comes to printing pages from my own websites.
Also, having the contents of your site within a 'container' object might help. For example create a DIV which is 700px wide and then put everything into that div <body><div class="container"> //website stuff goes in here </div></body>
May or maynot be of any use. However using these methods means I've never had any problems when it comes to printing pages from my own websites.
Yeah, that's standard on my websites, but the printing is still bugged...Gen-ik wrote:Can't you just set the margin of the <body> in CSS. body { margin:0px; } or body { margin-right:20px; } and so on.
Good idea, just tried it, didn't work. The tables all have relative width as usual (yes, I, for one, am stil using tables on my website), but that chunk of HTML simply won't print properly - yet....Gen-ik wrote:Also, having the contents of your site within a 'container' object might help. For example create a DIV which is 700px wide and then put everything into that div <body><div class="container"> //website stuff goes in here </div></body>
Yup. This is a first for that one. I have lost my "not-IE-printable" virginity. And it still hurts.Gen-ik wrote: I've never had any problems when it comes to printing pages from my own websites.