HTML - Printing Properties In 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. Similar TutorialsI 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 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? We 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> 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 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! Hi My problems: Q1: I am getting data from mySQL to populate fields to generate a report in html. The report are in two pages. Sometimes page two comes into page one. is there a way we can force page two to be only in page two. Q2: If I am printing only 1 page report, is there a way to force print (without changing print setting to print) into one page. Thanks Siva Hey everyone, I'm currently implementing some tables with borders defined via a stylesheet. When attempting to print this in IE7 there appears to be an issue with the way the border is drawn. If there is a table element which is page broken in the middle and continues on a second page, the left and right borders do not appear until the second page. I have tested out my HTML table elements in Firefox and Chrome, and they both produce the correct layout. Here are screenshots of the print output in PDF. Is there anything I can do with the styling to correct this in IE7? IE: http://img198.imageshack.us/img198/5097/18897772.jpg Firefox: http://img691.imageshack.us/img691/5403/firefoxu.jpg Thanks for your time, Mike Hey guys, I'm working on this site now I'm stuck. Its been a while since the last time I made one. Hoping you guys can help me. Could definitely use it. Thank You. Okay, so basically what I am trying to do but can't is get my random images to open like I set up my first image. Which would be in a new window as specified by my code. The first images join.png and button.png open how I want them to, It's just the random images I have that won't open. Hopefully you guys can guide me in the right direction. Thank You. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>test</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script language="javascript" type="text/javascript"> var win=null; function NewWindow(mypage,myname,w,h,scroll,pos){ if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;} if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;} else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20} settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no'; win=window.open(mypage,myname,settings);} </script> </head> <body> <center> <p><img src="images/Banner.png" width="484" height="86" /></p> <p><a href="blahh.php" onclick="NewWindow(this.href,'mywin','800','500','no','center');return false" onfocus="this.blur()"><img src="images/button.png"/><a href="blah.php" onclick="NewWindow(this.href,'mywin','800','500','no','center');return false" onfocus="this.blur()"><img src="images/join.png"/> </p> <script language="JavaScript"> <!-- function random_imglink(){ var myimages=new Array() //specifies random images myimages[1]="images/m_cfb7815dc1124a19afd0200898f1ea38.jpg" myimages[2]="images/example.jpg" //specify corresponding links to images var imagelinks=new Array() imagelinks[1]="http://www.example.com" imagelinks[2]="http://www.example.net" var ry=Math.floor(Math.random()*myimages.length) if (ry==0) ry=1 document.write('<a target="_blank" href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" height="90" width="90" border=0></a>') // specifies link } random_imglink() //--> </script> </center> </body> </html> When using <a href="" target="_blank"> is there a way to specify the size and title of the new browser window? Is there a way to get rid of the browsing buttons as well so it's just a pop-up window...? Or is there another HTML way to do this? Hello experts, I have a code like this Code: <form method="POST" action="/irj/portal?NavigationTarget=ROLES:...CourseRegistration" onsubmit = "top.location.href=this.action"> <input type="image" src="http:..register.gif" alt="Submit button"> </form> This works fine. I need the same functionality for a URL! How should I do this. I tried Code: <a href="/irj/portal?NavigationTarget=ROLES:....course_desc" onsubmit = "top.location.href=this.action">Course Descriptions</a> This does not work like the button above. Any ideas are appreciated. Thanks Srinivas i want to change this object (player) properties PHP Code: <center> <object id="Player"> <param name="URL" value="www.site.com/media.avi" ref> <param name="fullScreen" value="1"> </object> i know there is a way to do this for example PHP Code: <a onclick="if (Player.playState == 3)Player.fullScreen = '1';"> to change the fullscreen mode but i need to change the URL value GrampsEd here ?#1 Can I think or look at a Table and a menuh-container as the same thing but used for different things where the ( menuh= the text or links ) the ( Tr=Lu ) and the ( Td=LI ) if so. ?#2 Where can I find all of the properties I can use for the ( menuh Li ) tag in the CSS part. or can I just put properties in the ( LI tag ) just like you do in the ( TD tag ) in the html body part of the page. Also please tell me if I need to ask ?? in a different forum. Thanks Can i assign a URL like index.php?page=result using the get method in a php form. Ex: HTML Code: <form action="?page=results" method="get"> <input type="submit" value="Submit"> </form> 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. 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??? 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 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 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!! |