Topic: Border around DIV when DIV is inside a cell |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: Lago Paranoá |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() You need to set the padding of the table cell to 0 code: <HTML>
|
Maniac (V) Inmate From: Lago Paranoá |
![]() ![]() ![]() ![]() Thanks, Nathus, that really solved the problem. |
Maniac (V) Inmate From: under the bed |
![]() ![]() ![]() ![]() That's always a tricky thing. |
Maniac (V) Inmate From: Lago Paranoá |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() |
Maniac (V) Inmate From: Lago Paranoá |
![]() ![]() ![]() ![]() I didn't know either. Found a site in Internet and modified the code to my needs. |