Lakshmi Srinivas has Published 315 Articles

Style unordered lists markers with CSS

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 03-Feb-2020 07:07:41

119 Views

The list-style-type property allows you to control the shape or style the unordered lists markers.Example                            India          UK          US          

Usage of margin-bottom property with CSS

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 03-Feb-2020 06:59:50

70 Views

The margin-bottom specifies the bottom margin of an element. It can have a value in length, % or auto. You can try to run the following code to set the bottom margin:Example                            This is a paragraph ... Read More

CSS padding-top property

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 03-Feb-2020 06:36:17

106 Views

The padding-top specifies the top padding of an element. It sets the top padding of an element. This can take a value in terms of length of %.Example                            This is a paragraph with a specified top padding                      This is another paragraph with a specified top padding in percent          

Set a border between two lines with CSS

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 03-Feb-2020 06:31:20

202 Views

Use the border-style property with double value to set a border with two lines. You can try to run the following code to implement border-style property:Example                            This is a border with none width.                      This is a border with two solid lines.          

Set border width with CSS

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 03-Feb-2020 06:21:34

418 Views

The border-width property allows you to set the width of element borders. The value of this property could be either a length in px, pt or cm or it should be set to thin, medium or thick.ExampleYou can try to run the following code to set the border width with ... Read More

Change the color of the bottom border with CSS

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 03-Feb-2020 06:13:49

102 Views

The border-bottom-color changes the color of the bottom border. You can try to run the following code to implement the border-bottom-color property:Example                    p.demo {             border:4px solid;             border-bottom-color:#FF0000;          }                              Example showing border top color property          

Set the width of an image with CSS

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 31-Jan-2020 10:46:55

122 Views

The width property is used to set the width of an image. This property can have a value in length or in %. While giving value in %, it applies it in respect of the box in which an image is available.ExampleYou can try to run the following code to ... Read More

Change the style of the right border with CSS

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 31-Jan-2020 10:21:16

77 Views

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

Usage of border-color property in CSS

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 31-Jan-2020 10:09:23

86 Views

The border-color property specifies the color of a border. You can try to run the following code to implement the border-color property:Example                    p.demo {             border:2px dashed;             border-color:#800000;          }                              Example showing border color property          

Usage of CSS border-spacing property

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 31-Jan-2020 10:02:56

69 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 {     ... Read More

Advertisements