The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Proper framing, cannot frame properly with border-spacing set > 0
Woijtek
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Feb 3 2019, 02:17 PM
Post #2


.
********

Group: WDG Moderators
Posts: 8,079
Joined: 10-August 06
Member No.: 7



You might use "border-spacing: 0" and/or "border-collapse: collapse".

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Woijtek
post Feb 3 2019, 02:25 PM
Post #3





Group: Members
Posts: 2
Joined: 3-February 19
Member No.: 26,815



QUOTE(Christian J @ Feb 3 2019, 02:17 PM) *

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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Feb 3 2019, 04:18 PM
Post #4


.
********

Group: WDG Moderators
Posts: 8,079
Joined: 10-August 06
Member No.: 7



You can use different values for horizontal and vertical, like this:

CODE
border-spacing: 0 2px;
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th March 2019 - 03:51 PM