![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
is it possible to draw a one pixel line around every cell in a table? |
|
with "border: 1px solid; " just the outer tableborder ist concerned ? |
|
thanks for any help |
#3
| |||
| |||
|
|
Hello, is it possible to draw a one pixel line around every cell in a table? with "border: 1px solid; " just the outer tableborder ist concerned ? thanks for any help rolf |
#4
| |||
| |||
|
|
This works for me: table { border: 2px solid #000; empty-cells: show; border-collapse: collapse; } th, td { border: 1px solid #000; } |
#5
| |||
| |||
|
|
Im looking for a solution where the border never is broader than 1 pixel, independent from its structure (colspan or not). |
#6
| |||
| |||
|
|
This works for me: table { border: 2px solid #000; empty-cells: show; border-collapse: collapse; } th, td { border: 1px solid #000; } Thanks, thats nice, thats truly 1 pixel arround every cell. But that also means that where cells are touching the 1pixel is added to its neighbourcell and so the border is 2 pixels broad. |
|
Im looking for a solution where the border never is broader than 1 pixel, independent from its structure (colspan or not). |
#7
| |||
| |||
|
|
This works for me: table { border: 2px solid #000; empty-cells: show; border-collapse: collapse; } th, td { border: 1px solid #000; } Thanks, thats nice, thats truly 1 pixel arround every cell. But that also means that where cells are touching the 1pixel is added to its neighbourcell and so the border is 2 pixels broad. Im looking for a solution where the border never is broader than 1 pixel, independent from its structure (colspan or not). |
![]() |
| Thread Tools | |
| Display Modes | |
| |