HTML - Printing A Particular Area Of A Page
On my website I'm keeping a blog. Currently when I print a page, the printout would include Google ads, and logos and buttons that I don't really want to appear on a printout. All the content I want to be printable is contained within one <div> tag. Is it possible to make it, so that if you go to print a page, only the content within this <div> tag is printed?
Similar TutorialsWe have HTML page and we have error when we do a print preview or printing the HTML page. It seems data from the URL is being printed. Below is the actual page that we want to fix. I hope somebody can help me fix this problem. I am not a web developer or javascript expert, but asked to fix this error. Thanks a lot in advance. http://www.versatile-ag.ca/dealerPRINT.html?point=(54.152341,%20-113.884085)&zoomLevel=9&dealerInfo=<DIV%20style="FONT-WEIGHT:%20bold;%20FONT-SIZE:%20medium;%20MARGIN-BOTTOM:%200em">K%20|%20M%20Farm%20Equipment%20Ltd.</DIV><DIV%20id=iw_kml><BR>9008%20-%20100%20Street<BR><BR>Westlock,%20Alberta,%20Canada<BR>T7P%202L4<BR><BR>Ph.%20780-349-2588<BR><BR><B>Product%20Lines:</B><BR>Tractors</DIV><DIV%20id=wizard%20style="PADDING-TOP:%200.7em"%20firstCard="actions"%20class="iw"></DIV> Hello all, I'm wanting to put a print button on a web page that when clicked will print multiple documents/pages. I have tried doing this but have failed several times, does anyone know what the code is that i should be using? Thanks Mini I have created a web page in ASP.Net, but completely using HTML codes. This web page shows first 25 hit movies in year wise. I have 2006, 2007 and 2008 year's details in 3 different tables (HTML Tables). All of them are in one page When user clicks main page, it shows all the three year details in tables. User has to scroll down the apge to see full details. Here, I want to give 3 page sections (or page breaks).. If user clicks main page urs, it should show all and user have to scroll down...if user press 2006, it shoud take him to that specific area. If similarly if user clicks 2007, it should take him/her to 2007 details area.. How to do this? I heard that with 'submenubullet', we can do this...Please help me on this (This is one of those stupid 'Why do they do that?' questions. I'd ask them, but I'm worried it's really obvious and I don't want to look like a mook.) I've noticed a couple of teachers at my College set up websites that take up only part of the page. For example, this one page is 440px in height and 775px in width. This leaves a lot of white space, because the page is huddled up in the NW corner of the page. At first, I thought it was for visually hindered people, so when they zoom in, the text would be larger, and the page would fill out larger as well, take up the whole screen. But zoom doesn't actually change the page's height/width. Any thoughts? HI Im making a site at the mo and im looking to keep the menu and a picture stay in the same position constantly. So when then user moves the scoll wheel only the text are will scroll. I dont want there to be any border or scroll bars around the text, so the only visable scroll bar will be the browsers... any ideas? I want the user to be able to press a button to print a jpg off my site. Ive only been able to find print full site buttons. guys i have a page with a link. when i click the link i want to print a file. assuming the file already exits.. say a doc file or something thanks guys your help would be mightily appreciated Hi, I should really know this... I know it's possible to create a CSS page to tell the printer to print certain content in certain colors, but you know how you have to set the browser to print bg page colors prior to printing? Is it possible with this CSS page to have the printer automatically print the background without setting the browser parameters? Thanks Hi, One of my latest sites seems to be having problems being printed from IE 6 not sure about 7 but 6 is just hanging when trying to print. When printing any page with Firefox the layout is perfect on the print. When printing with IE most of the time it doesnt print at all it just hangs and some times it prints but the layout is a mess as if the CSS is wrong but it look fine when viewing the site in IE. Any ideas or has anyone ever come across this before? CC_DESIGN PS the site is www.boozerpit.co.uk Have a look at my website: http://www.jlsindia.org/nayapath This website is of a magazine, and based on 'frames'. Now this website is divided into three frames: 1. Top-frame, is for header 2. Left-frame, is for links of articles 3. Right-frame, is body, where the text of clicked link displayed. Now I want to put a 'print button' at the top of my page (in top-frame), and with this i want to 'print the content of right frame'. Is this possible??? I have been trying to set up a simple way to print all the data thats in a text file, and intergrate it with my web page, the txt document will be updated and i want it to be automatically updated and displayed on my HTML Page Does anyone know how to set this up? I've got a website here that's split into two frames. The top frame is the header and the bottom frame is the page body. When I print, it only seems to print the header. How can I get it to print the body by default (i.e. without clicking on the body first)? For an example, in http://www.eldon.com See the black border around the page? I would like to disable it or set a the table border property @ 0 so it won't show up when printing? Is this possible? Thanks a lot guys... First post!! I have no earthly idea where this should actually go, so feel free to move. Our webpage is approx. 650 pixels across, which translates into too large of a document to be printable. It slices off a small amount of the right-hand side of the page when folks try to print it from IE. I noticed that when using Firefox though, the page is automatically resized to fit into an 8.5x11 space. If I want to add a "Print this page" element to the page, is there code that would tell the website to automatically resize itself to fit into a letter-sized document? I tried looking for tutorials but there either aren't any or I was getting the keywords wrong. Just curious, as this would be a helluva lot easier than resizing the entire site pixel-wise. Thanks for any suggestions =) I want viewers to my page to click on "Print the worksheet" and a small worksheet will go straight to their printer. Is this something I can do with HTML? Hi guys, i tried looking for help on tihs issue but could not find any. the problem is this: I have an image that is viewed in landscape. i want to make this printable, but when i print it, half of this landscape image is printed in portrait mode. is there any way i can set the print properties so that when the user goes to File>Print it will show the normal print options, and actually print in landscape? Thanks. Hi, I have a script that prints a page and that works great. Can anyone tell me if this can be done please: When printing a html page from the internet it puts the: Pages Name Http Link Page Number Date around the edges of the page. Is there away of removing this so it just prints the content nothing else? I've managed to hide certain things using CSS and its "display:none" function so i was wondering if it can be done like this or any other way? Any help would be great Many thanks Joe I have a div that contains multiple items which I need to have aligned to the bottom of a page when printing. How can I accomplish this? Hello, I've been working on a very simple website for a friend, and run into an issue with text alignment when I print from IE (works fine in Firefox). The problem can be seen he While being displayed correctly on the screen, a big gap appears between the image an the body text during printing. As I am not even nearly an expert, I cannot figure out what causes the problem. Any help would be appreciated! Thank you! |