Topic: Border around DIV when DIV is inside a cell |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: Lago Paranoá |
posted 02-03-2005 21:35
How can I get rid of the "border" when I use a DIV inside a cell table, like in the example below? code: <HTML>
|
Maniac (V) Inmate From: under the bed |
posted 02-03-2005 22:40
the border is not part of the cell space, so any element inside the cell will never take up the border space - it doesn't work that way. |
Bipolar (III) Inmate From: Minnesota |
posted 02-03-2005 22:51
You need to set the padding of the table cell to 0 code: <HTML>
|
Maniac (V) Inmate From: Lago Paranoá |
posted 02-03-2005 23:13
Thanks, Nathus, that really solved the problem. |
Maniac (V) Inmate From: under the bed |
posted 02-04-2005 03:12
That's always a tricky thing. |
Maniac (V) Inmate From: Lago Paranoá |
posted 02-04-2005 03:59
Well, after some more hours of Google'ing and reading and experimenting, I may say that there is nothing that four lines of javascript can't cure. |
Maniac (V) Inmate From: under the bed |
posted 02-04-2005 14:05 |
Maniac (V) Inmate From: Lago Paranoá |
posted 02-05-2005 01:10
I didn't know either. Found a site in Internet and modified the code to my needs. |