The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 49 - File: showthread.php(1621) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1621) : eval()'d code 49 errorHandler->error_callback
/showthread.php 1621 eval
Warning [2] Undefined variable $fburl - Line: 58 - File: showthread.php(1621) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1621) : eval()'d code 58 errorHandler->error_callback
/showthread.php 1621 eval
Warning [2] Undefined variable $fburl - Line: 58 - File: showthread.php(1621) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1621) : eval()'d code 58 errorHandler->error_callback
/showthread.php 1621 eval
Warning [2] Undefined variable $fburl - Line: 58 - File: showthread.php(1621) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1621) : eval()'d code 58 errorHandler->error_callback
/showthread.php 1621 eval
Warning [2] Undefined variable $fburl - Line: 58 - File: showthread.php(1621) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1621) : eval()'d code 58 errorHandler->error_callback
/showthread.php 1621 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

CSS - Tables

Googleplus Pint
#3
The border-spacing Property:
The border-spacing property specifies the distance that separates adjacent cells. borders. It can take either one or two values; these should be units of length.

If you provide one value it will applies to both vertical and horizontal borders Or you can specify two values, in which case the first refers to the horizontal spacing and the second to the vertical spacing:

NOTE: Unfortunately, this property does not work in Netscape 7 or IE 6.

CSS
/* If you provide one value */
table.example {border-spacing:10px;}
/* This is how you can provide two values */
table.example {border-spacing:10px; 15px;}

Now let's modify previous example and see the effect:

CSS:

table.one {
border-collapseConfusedeparate;
width:400px;
border-spacing:10px;
}
table.two {
border-collapseConfusedeparate;
width:400px;
border-spacing:10px 50px;
}
HTML:

<table class="one" border="1">
<caption>Separate Border Example with border-spacing</caption>
<tr><td> Cell A Collapse Example</td></tr>
<tr><td> Cell B Collapse Example</td></tr>
</table>
<br />
<table class="two" border="1">
<caption>Separate Border Example with border-spacing</caption>
<tr><td> Cell A Separate Example</td></tr>
<tr><td> Cell B Separate Example</td></tr>
</table>

Hello World!:

- tes
- Hello Friends . Welcome Back
Hasan
Reply


Messages In This Thread
CSS - Tables - by Hasan - 06-28-2018, 09:53 AM
RE: CSS - Tables - by Hasan - 06-28-2018, 09:54 AM
RE: CSS - Tables - by Hasan - 06-28-2018, 09:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CSS white-space Property Hasan 0 1,251 07-04-2018, 03:29 AM
Last Post: Hasan
  CSS - Links Hasan 1 1,918 06-28-2018, 09:47 AM
Last Post: Hasan
  CSS - Images Hasan 3 1,885 06-28-2018, 09:37 AM
Last Post: Hasan
  css text effect Hasan 9 1,399 06-28-2018, 09:34 AM
Last Post: Hasan
  Setting Fonts using CSS Hasan 7 1,515 06-28-2018, 09:30 AM
Last Post: Hasan
  Setting Backgrounds using CSS Hasan 1 1,185 06-28-2018, 03:31 AM
Last Post: Hasan
  CSS - Colors Hasan 0 1,416 06-28-2018, 03:23 AM
Last Post: Hasan
  CSS Syntax - Selectors Hasan 0 1,197 06-28-2018, 03:20 AM
Last Post: Hasan
  CSS Introduction Hasan 0 1,193 06-28-2018, 03:19 AM
Last Post: Hasan

Forum Jump:


Users browsing this thread: 1 Guest(s)