Javascript Articles

Page 489 of 534

Usage of border-top-color property in CSS

Arjun Thakur
Arjun Thakur
Updated on 31-Jan-2020 71 Views

The border-top-color property changes the color of the top border.ExampleYou can try to run the following code to implement the border-top-color property:                    p.demo {             border:3px solid;             border-top-color:#FF0000;          }                              Asia is a continent.          

Read More

Change the style of left border with CSS

Chandu yadav
Chandu yadav
Updated on 31-Jan-2020 145 Views

The border-left-style property changes the style of left border. You can try to run the following code to implement border-left-style property:Example                            Example showing left border          

Read More

Change the style of top border with CSS

karthikeya Boyini
karthikeya Boyini
Updated on 31-Jan-2020 175 Views

The border-top-style property changes the style of top border.ExampleYou can try to run the following property to change the style of the top border:                            Example showing top border          

Read More

Usage of CSS table-layout property

Ankith Reddy
Ankith Reddy
Updated on 31-Jan-2020 85 Views

The table-layout property is to help you control how a browser should render or lay out a table. This property can have one of the three values: fixed, auto or inherit.ExampleYou can try to run the following code to implement CSS table-layout property                    table.auto {             table-layout: auto          }          table.fixed{             table-layout: fixed          }                                           1000000000000000000000000000             10000000             100                                                   1000000000000000000000000000             10000000             100                    

Read More

Usage of CSS border-spacing property

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 31-Jan-2020 72 Views

The border-spacing specifies the width between table cells. It can take either one or two values; these should be units of length.ExampleYou can try to run the following code to set the width of table cells:                    table.one {             border-collapse:separate;             width:300px;             border-spacing:15px 40px;          }                              The border-spacing property           India           UK                

Read More

Usage of CSS caption-side property

karthikeya Boyini
karthikeya Boyini
Updated on 31-Jan-2020 55 Views

The caption-side property allows you to specify where the content of a element should be placed in relationship to the table.ExampleThis property can have one of the four values top, bottom, left or right. Let us seen an example to learn how to implement caption-side property:                    caption.top {             caption-side:top          }          caption.bottom {             caption-side:bottom          }                                           Countries (Top Caption)                     India           UK           US           Australia                                         Countries (Bottom caption)                     India           UK           US           Australia                

Read More

Usage of CSS empty-cells property

Arjun Thakur
Arjun Thakur
Updated on 31-Jan-2020 157 Views

The empty-cells property specifies whether the border should be shown if a cell is empty. It indicates whether a cell without any content should have a border displayed.ExampleThis property can have one of the three values show, hide or inherit.                    table.empty{             width:400px;             border-collapse:separate;             empty-cells:hide;          }          td.empty{             padding:5px;             border-style:solid;             border-width:1px;             border-color:#999999;          }                                                       Title one             Title two                                 Row Title             R1T1             R1T2                                 Row Title             R2T1                                

Read More

Set width between table cells with CSS

Samual Sam
Samual Sam
Updated on 31-Jan-2020 299 Views

The border-spacing specifies the width between table cells. It can take either one or two values; these should be units of length.ExampleYou can try to run the following code to set the width of table cells:                    table.one {             border-collapse:separate;             width:300px;             border-spacing:15px 40px;          }                              The border-spacing property           India           UK                

Read More

Usage of CSS border-collapse property

Chandu yadav
Chandu yadav
Updated on 31-Jan-2020 56 Views

The border-collapse specifies whether the browser should control the appearance of the adjacent borders that touch each other or whether each cell should maintain its style.ExampleYou can try to run the following code to learn how to work with border-collapse property                    table.one {             border-collapse:collapse;          }          table.two {             border-collapse:separate;          }          td.a {             border-style:dotted;             border-width:2px;             border-color:#000000;             padding: 20px;          }          td.b {             border-style:solid;             border-width:2px;             border-color:#333333;             padding:20px;          }                              Border Collapse           India           Australia                            Border Separate           India           Australia          

Read More

Change the Color of Link when a Mouse Hovers

karthikeya Boyini
karthikeya Boyini
Updated on 31-Jan-2020 1K+ Views

To change the color of a link when we bring a mouse pointer over that link, use the: hover property.ExampleYou can try to run the following code to change the link color:                    a:hover {             color: #FFCC00          }                     My Link    

Read More
Showing 4881–4890 of 5,338 articles
« Prev 1 487 488 489 490 491 534 Next »
Advertisements