Chandu yadav

Chandu yadav

810 Articles Published

Articles by Chandu yadav

Page 45 of 81

Set the top margin of an element with CSS

Chandu yadav
Chandu yadav
Updated on 03-Feb-2020 108 Views

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

Read More

Usage of border-bottom-width property in CSS

Chandu yadav
Chandu yadav
Updated on 03-Feb-2020 65 Views

The border-bottom-width changes the width of the bottom border. You can try to run the following code to implement border-bottom-width property:Example                            This is demo content.          

Read More

How can I manage the start position of searching in MySQL LOCATE() function?

Chandu yadav
Chandu yadav
Updated on 03-Feb-2020 175 Views

As we know that by default searching in LOCATE() function starts from beginning. We can manage the start position by giving an argument to specify the position from which we want to start the search in string. Following example will demonstrate it −Examplemysql> Select LOCATE('good','Ram is a good boy. Is Ram a good boy?',11)As Result; +--------+ | Result | +--------+ |     29 | +--------+ 1 row in set (0.00 sec)In the above example, we have given the value 11 as the argument for position. It means that MySQL will start searching from 11th position.

Read More

Usage of border-left-style property in CSS

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

The border-left-style property changes the style of left border. You can try to run the following code to implement the border-left-style propertyExample                            This is demo content          

Read More

Usage of border-bottom-color property in CSS

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

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

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

Usage of CSS border-collapse property

Chandu yadav
Chandu yadav
Updated on 31-Jan-2020 58 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

Usage of -moz-opacity property with CSS

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

The -moz-opacity property of an image is used to set the opacity of an image. This property is used to create a transparent image in Mozilla. IE uses filter:alpha(opacity=x) to create transparent images.ExampleYou can try to run the following code to style an image and set opacity with CSS                      

Read More

What is the way to get self-computed output from MySQL without a dummy table named dual?

Chandu yadav
Chandu yadav
Updated on 29-Jan-2020 206 Views

In MySQL, we can simply specify the SELECT conditions all alone to get the self-computed output. Following example will demonstrate it −mysql> Select 1+1; +-----+ | 1+1 | +-----+ | 2   | +-----+     1 row in set (0.02 sec) mysql> Select 1; +---+ | 1 | +---+ | 1 | +---+ 1 row in set (0.00 sec)

Read More

How can I change the value of an instance of a row in MySQL table?

Chandu yadav
Chandu yadav
Updated on 29-Jan-2020 341 Views

UPDATE command along with WHERE clause can be used to change the value of an instance of a row. Basically, MySQL will change the value on the basis of the condition given in the query. Following example can demonstrate itSuppose we want to change the name from ‘Ram’ to ‘Mohit’ in the ‘testing’ table given below −mysql> Select * from testing; +----+---------+ | Id | Name    | +----+---------+ | 1  | Harshit | | 2  | Lovkesh | | 3  | Ram     | | 4  | Gaurav  | +----+---------+ 4 rows in set (0.00 sec)Now ...

Read More
Showing 441–450 of 810 articles
« Prev 1 43 44 45 46 47 81 Next »
Advertisements