Re: Tables with solid black borders?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Michael Wilcox wrote:
Quoted text here. Click to load it


table {border: 1px solid black}

/* or depending on what you are after */

table, td {border: 1px solid black;border-collapse:collapse;}


Mostš browsers have bug that makes it look odd when border=1 is set in

That is unfortunate, as it will degrade badly. If so happens, you can use
HTML to set that, I don't remember how and it is deprecated and don't
have full support either.

[1] when I last checked, can't remember when.

Lauri Raittila < <
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.

Re: Tables with solid black borders?

On Sun, 06 Jul 2003 23:51:48 GMT, "Michael Wilcox"

: If I do <table border=1> I get the standard outset border frames. How do I
: turn these into a solid, 1 pixel border (probably with css)? "border: 1px
: solid black" doesn't seem to do it right, so how do I do it?

why not?
<table style="border:2px solid black;"> does it fine.

url? Wanna see if TDs require it.


Site Timeline