Home > ASP Development > table borders

table borders



is there any way to have a single line for a table borders because if I set the size of the border to 1, every cell has its own border and it looks not very esthetic with two-lined borders when it's printed out.

if I set a border to 0, set a diferent color for cells it looks great on the page but it's not printed on paper.



Thanks for any ideas

    
Guest


Within your TD tag, add the following (as an example):



style="border-bottom: 1px solid black; border-top: 2px solid red;"

Was this answer helpful ? Yes No   
Guest


you can have border only around the table (and not around cells) by using such css:


Code:


<table style="border: 1px solid black;">



Was this answer helpful ? Yes No   
Guest


Thank you

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2008 by Infoqu. All rights reserved