| | |
How to draw these borders
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
I like the borders of the forums like this. Can someone tell me how to draw a border in HTML/CSS as shown in the screenshot.
http://img91.imageshack.us/img91/329...lloimn7.th.jpg
I would like to have the bordercolor as well. The following HTML does not work perfectly on all browsers
I mean, with
FF - The code works fine
IE - Works but displays a thicker border compared to FF
Opera - Does not show the border color
Please help
Thanx
http://img91.imageshack.us/img91/329...lloimn7.th.jpg
I would like to have the bordercolor as well. The following HTML does not work perfectly on all browsers

I mean, with
FF - The code works fine
IE - Works but displays a thicker border compared to FF
Opera - Does not show the border color
HTML and CSS Syntax (Toggle Plain Text)
<table border=1 bordercolor="#6E94B7" cellspacing=0 cellpadding=0> <tr><td>Hello 1</td><td>Hello 2</td><td>Hello 3</td></tr> <tr><td>Hello 4</td><td>Hello 5</td><td>Hello 6</td></tr> <tr><td>Hello 7</td><td>Hello 8</td><td>Hello 9</td></tr> <tr><td>Hello 10</td><td>Hello 11</td><td>Hello 12</td></tr> </table>
Please help
Thanx
•
•
•
•
I like the borders of the forums like this. Can someone tell me how to draw a border in HTML/CSS as shown in the screenshot.
I would like to have the bordercolor as well. The following HTML does not work perfectly on all browsers
I mean, with
FF - The code works fine
IE - Works but displays a thicker border compared to FF
Opera - Does not show the border color
HTML and CSS Syntax (Toggle Plain Text)
<table border=1 bordercolor="#6E94B7" cellspacing=0 cellpadding=0> <tr><td>Hello 1</td><td>Hello 2</td><td>Hello 3</td></tr> <tr><td>Hello 4</td><td>Hello 5</td><td>Hello 6</td></tr> <tr><td>Hello 7</td><td>Hello 8</td><td>Hello 9</td></tr> <tr><td>Hello 10</td><td>Hello 11</td><td>Hello 12</td></tr> </table>
Please help
Thanx
HTML and CSS Syntax (Toggle Plain Text)
<html> <head> <title>My Title</title> <style type="text/css"> .tablebord {border: 1px #6e94b7 solid; border-collapse: collapse;} </style> </head> <body> <table class="tablebord"> <tr><td>Hello 1</td><td>Hello 2</td><td>Hello 3</td></tr> <tr><td>Hello 4</td><td>Hello 5</td><td>Hello 6</td></tr> <tr><td>Hello 7</td><td>Hello 8</td><td>Hello 9</td></tr> <tr><td>Hello 10</td><td>Hello 11</td><td>Hello 12</td></tr> </table> </body> </html>
Last edited by MidiMagic; Mar 11th, 2008 at 2:28 pm.
Daylight-saving time uses more gasoline
•
•
Join Date: Nov 2003
Posts: 207
Reputation:
Solved Threads: 1
You forgot to give him the css to use with that. : )
I wouldn't use this, however, because it fails to put the borders between cells.
If you want to have a cross thatched border, set the background of the table element to the border color, and change the cellspacing to 1.
That should do it for you.
HTML and CSS Syntax (Toggle Plain Text)
tablebord { border: 1px solid #6E94B7; }
I wouldn't use this, however, because it fails to put the borders between cells.
If you want to have a cross thatched border, set the background of the table element to the border color, and change the cellspacing to 1.
That should do it for you.
I forgot to put it in the td tags too. I was sleepy at the time.
HTML and CSS Syntax (Toggle Plain Text)
<html> <head> <title>My Title</title> <style type="text/css"> .tablebord {border: 1px #6e94b7 solid; border-collapse: collapse;} </style> </head> <body> <table class="tablebord"> <tr> <td class="tablebord">Hello 1</td> <td class="tablebord">Hello 2</td> <td class="tablebord">Hello 3</td> </tr> <tr> <td class="tablebord">Hello 4</td> <td class="tablebord">Hello 5</td> <td class="tablebord">Hello 6</td> </tr> <tr> <td class="tablebord">Hello 7</td> <td class="tablebord">Hello 8</td> <td class="tablebord">Hello 9</td> </tr> <tr> <td class="tablebord">Hello 10</td> <td class="tablebord">Hello 11</td> <td class="tablebord">Hello 12</td> </tr> </table> </body> </html>
Daylight-saving time uses more gasoline
![]() |
Similar Threads
- Need help with repainting Graphics (Java)
- Review my site... (Website Reviews)
- help please asap! (C++)
- Identifying Drivers needed (Windows 95 / 98 / Me)
- C++ Graphics (graphics.h) (C++)
- I lack focus... (Java)
- bar graph & _POST variables (PHP)
- Help with GDI (C)
- Borders (Java)
- Arizona Web wants reviews too! (Website Reviews)
Other Threads in the HTML and CSS Forum
- Previous Thread: General rules when working with divs and css.
- Next Thread: Email reply problem. Please HELP
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






