Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print.css

Status
Not open for further replies.

brodyzen

Technical User
Joined
Apr 26, 2007
Messages
2
Location
US
I am working tomake a site print friendly. i have added div tags and have sucessfuly removed all the graphic images from tha pages as they print. Now when i print the pages i am left with only copy but the copy is still located on the page in the same location as the table it is in on the html page. I would like to have thay copy fill the page so that i do not wast all that space. I have the copy in a table with a table id=container2. the code for the table starts out like this

<td width="516" valign="top"><div id="content" title="content"><table width="514" height="34" border="0" cellpadding="0" cellspacing="0" id="container2">
<tr>
<td>Do you know which

in my print.css i have

body {
color : #000000;
background : #ffffff;
font-family : "Times New Roman", Times, serif;
font-size : 12pt;
text-align: left;
}
a {
text-decoration : underline;
color : #0000ff;
}
#navigation, #advertising, #other {

display : none;
}
#container, #container2, #content {
width: 100%;
margin: 0;
float: none;
}


but when i print i still get a block of copy down the right side of my page.

any help?
 
May be easier if we can see the site...

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
Status
Not open for further replies.

Similar threads

Replies
15
Views
348

Part and Inventory Search

Sponsor

Back
Top