English 中文(简体)
印刷网页和风格混乱
原标题:Printing webpage and styles are messed up

当我试图从网站上打印一些东西时, 装饰会变得一团糟。 我包含两张照片作为参考。 有人知道如何解决这个问题吗?

This is what the page looks like and how I d like it to look when I print: image1

This is the print preview, and it also prints this way: image2

谢谢你的帮助

问题回答

大部分 CSS 都在一个样式表中, 即 media="screen" 。 这可能是格式差异的主要来源。 也就是说, 它是一个 Joomla 网站 - 尝试在页面右上方使用该打印图标。 它会踢出另一个更方便打印机的页面 。





相关问题
Creating a Style in code behind

Does anyone know how to create a wpf Style in code behind, I can t find anything on the web or MSDN docs. I have tried this but it is not working: Style s = new Style(typeof(TextBlock)); s....

WPF Custom Themes

I have a simple question which is giving me some difficulty. I have downloaded a custom them for WPF of the net. Now i want to apply this theme to my App instead of the default one. How do i do that,...

Is it sometimes bad to use <BR />?

Is it sometimes bad to use <BR/> tags? I ask because some of the first advice my development team gave me was this: Don t use <BR/> ; instead, use styles. But why? Are there negative ...

WPF - How to apply effect to a cropped image?

I have an Image being clipped like so: <Image Width="45" Grid.Column="0" Source="{Binding Photo}"> <Image.Clip> <RectangleGeometry Rect="0,0,45,55" RadiusX="8" RadiusY="8" /...

WPF ListView : Header styling

I want to have a ListView with columns and a particular style: The background for ALL column headers should be transparent except when the mouse is over in one of them. When this happends, the ...

热门标签