Results 1 to 3 of 3

Thread: printing table borders

  1. #1

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945

    printing table borders

    No matter what width I set my table borders to, they never print out. What gives?
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    I have just printed this (from firefox) and it prints the borders too:

    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>
    	<title>Table border test</title>
    	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    	<style type="text/css" media="screen, print">
    	<!--
    		table{
    			border: 1px solid #000;
    			margin: 0;
    		}
    		table td{
    			border: 1px solid #000;
    		}
    	//-->
    	</style>
    </head>
    
    <body>
    <table>
    <thead>
    <tr>
    	<td>Borders</td>
    	<td>Margins</td>
    </tr>
    </thead>
    <tbody>
    <tr>
    	<td>1px</td>
    	<td>0px</td>
    </tr>
    </tbody>
    </table>
    </body>
    </html>
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    Strange... seems like Opera doesn't want to print my borders, but IE will.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width