|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I need a css table to hide its borders. There are several tables in the document and the general TABLE element is still affecting the table I need without borders. I gave a different class name to that particular table, but even though I set the inset and outset border to 0 and border-collapse: collapse, it is not working.
TABLE.noborder, td, th {width: 100%; font-family: Verdana; font-size: 10pt; text-align: top; margin-left:auto; margin-right:auto; border-spacing: 0pt; page-break-inside: avoid; table-layout: fixed; border-collapse: collapse; border: inset 0pt; border: outset 0px;} Can someone help me with this? Thanks, Magnolia Last edited by magpe : November 3rd, 2003 at 12:59 PM. |
|
#2
|
||||
|
||||
|
you could simplify it all by using:
border-width: 0px; but make sure you apply it to the table, the THs and the TDs |
|
#3
|
||||
|
||||
|
if it's just one table that you need to do this with then you can have soemthing like:
<table style="border-width:0px;"> or just <table border="0"> Note this is for effecting an individual table. As the previous post says assigning in your CSS: TABLE {border-width:0px;} is a good idea |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > css table borders |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|