the_oliver Posted June 9, 2007 Share Posted June 9, 2007 Hello. I have a table with a background image. When i print the page however i dont see the image, just the contents of the table. Can any one suggest why? Many Thanks Quote Link to comment https://forums.phpfreaks.com/topic/54893-table-background-image-not-shown-when-printing/ Share on other sites More sharing options...
AndyB Posted June 9, 2007 Share Posted June 9, 2007 Because that's a browser/printer configuration option. Quote Link to comment https://forums.phpfreaks.com/topic/54893-table-background-image-not-shown-when-printing/#findComment-271588 Share on other sites More sharing options...
the_oliver Posted June 9, 2007 Author Share Posted June 9, 2007 Thank you. Is there any way i can get round this? Perhaps putting the image under the table? The thing with that is that i dont know where the table will be, as there could be any number of copys of it. Ta! Quote Link to comment https://forums.phpfreaks.com/topic/54893-table-background-image-not-shown-when-printing/#findComment-271591 Share on other sites More sharing options...
AndyB Posted June 10, 2007 Share Posted June 10, 2007 Is there any way i can get round this? Not that I know. It's controlled by the page visitor's configuration settings, not the page code. Quote Link to comment https://forums.phpfreaks.com/topic/54893-table-background-image-not-shown-when-printing/#findComment-271598 Share on other sites More sharing options...
ToonMariner Posted June 10, 2007 Share Posted June 10, 2007 There is no method - on screen media you can use position:absolute to 'layer' the table on top of an image. Print media doesn't do anything with elements outside the document flow so if both image and table were poisitioned absolutely niether would be printed. To have them printed you would have to swicth to posiyion: static and they would then not sit on top of one another.... So in short - NO you can't do it. Quote Link to comment https://forums.phpfreaks.com/topic/54893-table-background-image-not-shown-when-printing/#findComment-271601 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.