473,386 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

problem in creating user friendly print page

114 100+
guys, i am stuck in between with reference to the cited subject. Well please check my table below

[HTML]
<table>
<tr>
<td>
<div id="nav">
here the menus are displayed
</div>
<td>
<td class="contents">
here the main contents are displayed
</td>
</tr>
</table>
[/HTML]

I am able to print only the contents part but the contents do not stretch to 100% width. Please advise me here!
Sep 9 '08 #1
6 1803
Atli
5,058 Expert 4TB
I'm moving this over to the HTML / CSS forum.
Please try to post you questions in the appropriate forums!

Thank you.
MODERATOR
Sep 9 '08 #2
acoder
16,027 Expert Mod 8TB
guys, i am stuck in between with reference to the cited subject. Well please check my table below
What CSS are you using? Are you using a print style sheet?
Sep 9 '08 #3
raaman rai
114 100+
Yes i am using print style sheet for this purpose.
What CSS are you using? Are you using a print style sheet?
Sep 15 '08 #4
acoder
16,027 Expert Mod 8TB
Post the CSS code that you've tried working with.
Sep 15 '08 #5
raaman rai
114 100+
Thankyou somuch for your help but i was able to make it work. But one thing i need to ask i.e why dont the CSS properties for the print region do not work. I mean in my printable region i want the tables and all to retain the styles as it is. Which means even when you print the page the page should have border as well as the subheads background colors appear in the print. I have copied the class required even to my print.css file but it doesnt work. Can i do it?
Sep 20 '08 #6
acoder
16,027 Expert Mod 8TB
Thankyou somuch for your help but i was able to make it work.
Can you post how? Someone with a similar problem may benefit.
But one thing i need to ask i.e why dont the CSS properties for the print region do not work. I mean in my printable region i want the tables and all to retain the styles as it is. Which means even when you print the page the page should have border as well as the subheads background colors appear in the print. I have copied the class required even to my print.css file but it doesnt work. Can i do it?
This will depend on browser settings. By default, the background colours are not printed because that would usually be an unnecessary waste of ink. You can change the settings in each individual browser - in other words, let the user decide.
Sep 20 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: techy techno | last post by:
Hiii Hello.. I just wanted to know if anyone can tell me how can I give my website visitors the feature of "FRIENDLY PRINTING" through IE. I would definitely like to give a feature like...
2
by: tommy | last post by:
Newbie to the group.....hope you guys can help. I need to be able to have a button at the bottom of a form page (like the submit & reset buttons) to provide the user with a printer friendly...
3
by: Kris van der Mast | last post by:
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain subfolder my administration pages should be...
4
by: Axford | last post by:
Hello, does anybody have an example on how to add a hidden frame to an aspx page and then to use thtat hidden frame to print a user friendly version of the web page? The web page does print...
2
by: weetat.yeo | last post by:
Hi all , I have a print button in PHP page which using javascript window.print() to print web page. However , when user click "print" , the print preview display that the page cut-off and...
0
by: thirunavukarasukm | last post by:
Hai... Problem in Print Friendly Version with treeview control... i am creating one web applications.. in this web application in main page The left side one panel and right side one Iframe...
1
by: tbanov | last post by:
Hi, I'm looking to create my own version of a printer-friendly page. Any resources I can find on this subject are extremely specific about what they consider "printer-friendly", and they don't...
8
by: Bruno Rafael Moreira de Barros | last post by:
I have this framework I'm building in PHP, and it has Search Engine Friendly URLs, with site.com/controller/page/args... And on my View files, I have <?=$this->baseURL;?to print the base URL on the...
15
by: Prisoner at War | last post by:
Okay, I'd like to create a print-friendly website, so I've been reading up on how to create print-friendly pages (without duplicating my site, of course, by having separate versions of each...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.