Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by vanithasree
Page 3 of 6
Role of CSS :last-of-type Selector
The CSS :last-of-type selector targets the last element of its type among siblings within the same parent element. It's particularly useful for styling the final occurrence of specific HTML elements without needing to add classes or IDs. Syntax element:last-of-type { property: value; } Example: Basic Usage The following example applies an orange background to the last paragraph element − p:last-of-type { background-color: orange; padding: ...
Read MoreCreate a link button with borders using CSS
To create a link button with borders using CSS, you style anchor tags to look like buttons by adding borders, padding, and background colors. This technique transforms regular links into visually appealing button elements. Syntax a { border: width style color; padding: value; background-color: color; display: inline-block; text-decoration: none; } Example The following example creates a link button with a blue border that changes to red on hover − ...
Read MoreCSS3 Multi-Column rule-color Property
The CSS3 column-rule-color property is used to specify the color of the vertical line (rule) that appears between columns in a multi-column layout. This property works in conjunction with column-rule-style and column-rule-width to create visible separators between columns. Syntax selector { column-rule-color: color-value; } Possible Values ValueDescription color-nameStandard color names like red, blue, green hex-valueHexadecimal color codes like #ff0000, #00ff00 rgb()RGB color values like rgb(255, 0, 0) rgba()RGB with alpha transparency like rgba(255, 0, 0, 0.5) initialSets the property to its default value inheritInherits the value from parent element ...
Read MoreCSS border-image-source
The CSS border-image-source property is used to specify the path of an image to be used as a border. This property defines the source image that will be sliced and used to create decorative borders around elements. Syntax selector { border-image-source: value; } Possible Values ValueDescription url()Specifies the path to an image file noneNo image is used (default value) linear-gradient()Uses a gradient as the border image source Example The following example demonstrates how to use an image as a border source − ...
Read MoreWhich PHP function is used to delete an existing database?
PHP uses the mysql_query() function to delete a MySQL database. However, this function is deprecated since PHP 5.5.0 and removed in PHP 7.0.0. Modern PHP applications should use mysqli or PDO instead. Syntax (Legacy) bool mysql_query( sql, connection ); Parameters Parameter Description sql Required. SQL query to delete a MySQL database (DROP DATABASE command) connection Optional. If not specified, the last opened connection by mysql_connect will be used Modern Approach Using MySQLi Here's how to delete a database using the recommended MySQLi extension ? ...
Read MoreUsing SAP Tables from C# application - RFC_READ_TABLE
The RFC_READ_TABLE is a widely used Remote Function Call (RFC) that provides generic access to SAP tables from external applications like C#. This function module allows developers to read data from any SAP table without creating custom ABAP code. Key Considerations for RFC_READ_TABLE Many users use RFC_READ_TABLE as the primary API for generic table access from C# applications. Joins are not directly supported in RFC_READ_TABLE − However, this limitation can be overcome by implementing joins in your C# application logic. If you encounter complex requirements, you can request your ABAP developer ...
Read MoreNeed to schedule script in PowerShell from SAP
When scheduling PowerShell scripts from SAP, you may encounter permission issues where the scheduler cannot access required files or credentials. This commonly occurs because the scheduler service lacks the necessary permissions to read file contents, particularly login credentials stored in external files. Common Permission Issue The scheduler is unable to read the contents, basically the login credentials from the file. This happens because the service account running the scheduled task doesn't have appropriate file system permissions or cannot decrypt stored credentials. Solution: Service Account Authentication As a workaround, create a separate job altogether to capture the ...
Read MoreMultiple ALV grids on a single screen in SAP ABAP
It is not possible to resize or place the grid at a particular position using function modules as ALVs are always displayed in fullscreen when using function modules. This limitation makes it challenging when you need to display multiple ALV grids or have more control over the grid positioning. One method to overcome this limitation is to create a screen using custom container and then use the class CL_GUI_ALV_GRID to attach the ALV grids to this container at desired positions. Implementation Steps To create multiple ALV grids on a single screen, follow these key steps − ...
Read MoreAnalogous to IN operator of SQL in SAP
You can get similar functionality to SQL's IN operator done in many ways in SAP. You can use an internal table usage or a range table approach. Let me showcase an example with an internal table for your reference. Using Internal Table with FOR ALL ENTRIES The FOR ALL ENTRIES clause in SAP allows you to filter data based on values from an internal table, similar to the IN operator in SQL − SELECT Id, Name, DOB FROM sEmployee INTO ...
Read MoreUpdating Data source of provider by REST API in SAP
When updating a data source of a provider through REST API in SAP, it's important to understand that modifying the document is just the first step. You also need to save the changes to make them persistent in the repository. Understanding Document States After making changes to the document, you'll notice that its state has been updated to 'Modified' from the previous state, which could have been 'Unused' or 'Original'. This state change indicates that the document has been altered but not yet saved to the repository. Saving Changes with PUT Request To save your modifications, ...
Read More