Rishi Rathor

Rishi Rathor

99 Articles Published

Articles by Rishi Rathor

Page 4 of 10

CSS Grid Rows

Rishi Rathor
Rishi Rathor
Updated on 15-Mar-2026 150 Views

CSS Grid rows refer to the horizontal tracks in a CSS grid container. They define the horizontal space where grid items are placed and can be explicitly defined using the grid-template-rows property. Row ...

Read More

Set the width of a button with CSS

Rishi Rathor
Rishi Rathor
Updated on 15-Mar-2026 5K+ Views

The CSS width property is used to set the width of a button. By default, buttons size themselves based on their content, but you can control their width using CSS to create consistent button layouts. Syntax button { width: value; } Possible Values ValueDescription autoDefault value - button width adjusts to content lengthSets width using px, em, rem, etc. %Sets width as percentage of parent container max-contentWidth based on content size Example: Fixed Width Button The following example sets a button width to 150px with styling ...

Read More

CSS content-box Value

Rishi Rathor
Rishi Rathor
Updated on 15-Mar-2026 263 Views

The CSS background-origin property with the content-box value positions the background image to start from the upper left corner of the content area, excluding padding and borders. This gives you precise control over where your background image begins. Syntax selector { background-origin: content-box; } Possible Values ValueDescription padding-boxBackground starts from the padding edge (default) border-boxBackground starts from the border edge content-boxBackground starts from the content edge Example: Comparing Background Origin Values The following example demonstrates the difference between padding-box, border-box, and content-box values − ...

Read More

Add arrow in tooltip with CSS

Rishi Rathor
Rishi Rathor
Updated on 15-Mar-2026 3K+ Views

With CSS, you can add a small arrow to a tooltip using the ::after pseudo-element. The arrow is created by combining the content property with CSS borders to form a triangular pointer that connects the tooltip to its trigger element. Syntax .tooltip::after { content: ""; position: absolute; border-style: solid; border-color: tooltip-color transparent transparent transparent; } Example: Tooltip with Top Arrow The following example creates a tooltip that appears above the trigger element with a downward-pointing arrow − ...

Read More

How to debug CSS/JavaScript hover issues?

Rishi Rathor
Rishi Rathor
Updated on 15-Mar-2026 542 Views

CSS and JavaScript hover issues can be tricky to debug because the hover state disappears when you move your cursor away from the element. Developer tools provide special features to help you inspect and debug these interactive states effectively. Method 1: Using Browser Developer Tools Step 1: Open Developer Tools Press F12 or right-click on the page and select Inspect Element to open the developer tools in any modern browser. Step 2: Access Pseudo-class States In the DOM/Elements panel, right-click on the element you want to debug and look for options like :hover, :active, or ...

Read More

Communicating with SAP system using PHP

Rishi Rathor
Rishi Rathor
Updated on 13-Mar-2026 1K+ Views

You can communicate with any SAP system from PHP in many ways, but the preferred standard available choices are − RFC (Remote Function Call) − Direct communication protocol for calling SAP functions remotely Web Services − HTTP-based communication using SOAP or REST APIs Communication Methods PHP has got one RFC library to communicate with SAP. But the main job in your problem statement lies with your partner as they are the one dealing with SAP component. You need to check with them what they prefer - services or RFC. ...

Read More

Getting class of given method using T-code SE80 in SAP

Rishi Rathor
Rishi Rathor
Updated on 13-Mar-2026 3K+ Views

To find the class of a given method in SAP, you need to use transaction code SE80 and navigate through the Repository Information System. This allows you to search for methods and identify which class they belong to. Steps to Find Class of a Method Follow these steps to locate the class containing a specific method − Step 1: Call transaction SE80 in the SAP system. Step 2: Navigate to the Repository Info System from the main ...

Read More

"Where" clause not working while updating database record in ABAP

Rishi Rathor
Rishi Rathor
Updated on 13-Mar-2026 542 Views

The WHERE clause not working during database updates in ABAP is commonly caused by syntax issues. The main problem occurs when using a colon in the first statement, which adds multiple following statements and updates all records instead of only the specified ones. Problem Analysis When you use a colon (:) in the first line of an UPDATE statement, ABAP treats the following lines as continuation of that statement. This causes the WHERE clause to be ignored, resulting in all records being updated instead of just the filtered ones. ...

Read More

Declare static variables and methods in an abstract class in Java

Rishi Rathor
Rishi Rathor
Updated on 11-Mar-2026 7K+ Views

If a method is declared as static, it is a member of a class rather than belonging to the object of the class. It can be called without creating an object of the class. A static method also has the power to access static data members of the class.A static variable is a class variable. A single copy of the static variable is created for all instances of the class. It can be directly accessed in a static method.An abstract class in Java is a class that cannot be instantiated. It is mostly used as the base for subclasses to ...

Read More

Display text inside an element in a smaller font size with Bootstrap

Rishi Rathor
Rishi Rathor
Updated on 11-Mar-2026 274 Views

Use the .initialism class in Bootstrap to show text inside an element. This allows setting smaller font size in Bootstrap −Example           Bootstrap Example                                          Cricket          The ICC governs cricket boards.          The ICC was founded as the Imperial Cricket Conference in 1909          Above the ICC abbreviation text is displayed with a smaller font.          

Read More
Showing 31–40 of 99 articles
« Prev 1 2 3 4 5 6 10 Next »
Advertisements