Proper framing, cannot frame properly with border-spacing set > 0 |
Proper framing, cannot frame properly with border-spacing set > 0 |
Woijtek |
Feb 3 2019, 12:06 PM
Post
#1
|
Group: Members Posts: 2 Joined: 3-February 19 Member No.: 26,815 |
Please find the link below and click the green button RUN!
https://www.w3schools.com/code/tryit.asp?fi...me=FZK43P6PBKXP Question: how can one set up styles so that horizontal bars above and below "Peter Griffin" be continuous? (no small space in the middle) Thank you in advance. |
Christian J |
Feb 3 2019, 02:17 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,661 Joined: 10-August 06 Member No.: 7 |
You might use "border-spacing: 0" and/or "border-collapse: collapse".
|
Woijtek |
Feb 3 2019, 02:25 PM
Post
#3
|
Group: Members Posts: 2 Joined: 3-February 19 Member No.: 26,815 |
You might use "border-spacing: 0" and/or "border-collapse: collapse". Thank you for your interest. The point is, I do not want to use "border-spacing: 0". I want it to be >0. Border-collapse produces the same effect as border-spacing: 0, so that is not what i am looking for. Regards. |
Christian J |
Feb 3 2019, 04:18 PM
Post
#4
|
. Group: WDG Moderators Posts: 9,661 Joined: 10-August 06 Member No.: 7 |
You can use different values for horizontal and vertical, like this:
CODE border-spacing: 0 2px; |
Lo-Fi Version | Time is now: 28th April 2024 - 07:19 AM |