English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

When i use the following code and i put table border=0
the border of the cells also disappear










hello hello hello hello


Also i would like to know how to have in each cell a unique jpeg background .

2007-09-28 02:35:32 · 6 answers · asked by Diana888 1 in Computers & Internet Programming & Design

6 answers

If you wanted to do it without style sheets, do it this way:







hello hello hello


However I do recommend using classes or id's and placing your styles in a style sheet so you can change them quickly and efficiently. Also...I don't recommend using table layouts.

2007-09-28 04:32:29 · answer #1 · answered by topherG 6 · 0 0

use style sheets


wait, not sure what you're trying to do. Do you want each border to have a different color?

One other question - are you using a background on your page (not talking about the table). If you're using a solid background for your page, instead of setting the tablebordercolor=transparent, try setting it to your page's bgcolor.

2007-09-28 02:43:52 · answer #2 · answered by raticals.com 4 · 0 0

This Site Might Help You.

RE:
How do i make the border of the table invisible while the cells will have a visible border (HTML)?
When i use the following code and i put table border=0
the border of the cells also disappear

<table border="4" bordercolor= "transparent" width="100%">
<tr border="3" bordercolor="black" >

<td bordercolor="red"...

2015-08-19 03:27:17 · answer #3 · answered by Gabbi 1 · 0 0

You will have to use CSS.

Try using the various CSS 'border' attributes for each cell or row ( and ). The same with the CSS 'background' attribute.

2007-09-28 02:49:24 · answer #4 · answered by Slick36 2 · 1 0

Border Color Transparent

2016-10-13 23:25:28 · answer #5 · answered by ? 4 · 0 0

Use CSS to define the styles of the rows and table.

#main { border-collapse: collapse; border: 1px solid #000000; width: 100%; } #main td { border-left: 1px solid #000000; border-right: 1px solid #000000; background-color: #FFF; } #main th { border: 1px solid #000000; background-color: #8AF; }

2016-03-17 04:15:48 · answer #6 · answered by Cheryl 4 · 0 0

Yup like slick36 said, use CSS:







Hello This one is blue in hex This one is dark gray

...and like that (note the tr has no style!)

2007-09-28 04:26:53 · answer #7 · answered by fjpoblam 7 · 0 0

fedest.com, questions and answers