
-----------------------------------
asteffes
Thu Jul 13, 2006 9:30 am

Problem printing website: nothing prints!
-----------------------------------
I'm developing the external corporate website for my company in Visual Studio 2003 using html, css, and a user web control for the header/navigation.

When I try to print any of the pages only the header image (an  located in the Web User control) and the footer (also ) will print, but none of the text, graphics, background colors, or background images that are included.

My page is a liquid 3 column + 1 header + 1 footer CSS design which I suspect is the culprit. Are there any tricks for printing out in CSS? Has anyone had this problem before?

I will post some of my code here but unfortunately I cannot post a URL because at this point it is internal only.

Thanks for any help!

note: i've very quickly and roughly edited out my company name and a bunch of content to make it smaller. There may be errors.




	
		x Information Technology Services
		
		
		
		
		
		
		
		
		#selected {
	BACKGROUND-IMAGE: url(Images/navMenu/navServices-sel.jpg)
}

#leftborderpattern {
	Z-INDEX: 500; TOP: 241px
}
#submenu {
	HEIGHT: 241px
}
		
	
	
		
		
		
			
		
		
			
				
					Services
					
					
					
						&nbsp;&nbsp;x Systems' Information Technology Capabilities Include:
						
						IT Portfolio Management
						Enterprise architecture
	
						
						
						
						
						&nbsp;
						
						
						Information Technology (IT)
						
						x  We have been externally appraised 
							at CMMI Level 2, which assures our customers that our risk management, quality 
							assurance, project management (based on PMBOK) and software development 
							methodologies meet the highest process standards.
							
							IT projects can fail for non-technical reasons. x leverages its expertise 
							in organizational change to ensure that IT services are properly implemented 
							and deliver measurable improvements for our customers.
							
							
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							
					
						
						
						
						
						Success Story: Army Aspire&nbsp;[TOP]
						
						Situation
						
					
					
				
				
					
						
						Organizational
								Change
						
						Information
								&nbsp;&nbsp;&nbsp; Technology
							
						
						Public&nbsp;and  
								&nbsp;&nbsp;&nbsp; Environmental
						eLearning
						Contact 
								Us
					
					
				
				
			
				

		
		
			SS1 
			SS2
	



-----------------------------------
rdrake
Thu Jul 13, 2006 1:10 pm


-----------------------------------
Stylesheets allow you to specify how a document will look like when on the screen, and when being printed.  As such, one could write a quick stylesheet to specify how a document should look when it's being printed.  To control the layout of the printed page, I recommend taking a look at [url=http://www.w3schools.com/css/css_ref_print.asp]this page.  For a quick intro into the different media types and how to use them, take a look at [url=http://www.w3schools.com/css/css_mediatypes.asp]this page.

Oh, and Microsoft products don't always produce the most friendly HTML to say the least....  Perhaps take a look at the site using an alternative browser, such as Firefox or Opera (if you're on winders).  You'll have a lot more happy customers if your site works in most, if not all, browsers :).

Good luck.

-----------------------------------
asteffes
Thu Jul 13, 2006 3:18 pm


-----------------------------------
Thanks for your help. The printing style sheets do the trick, but only after I set fixed heights. Very strange, I still dont' know why liquid columns will not print. 

Ah well...

Thanks for the heads up!
