Lakshmi Srinivas

Lakshmi Srinivas

233 Articles Published

Articles by Lakshmi Srinivas

Page 10 of 24

CSS positioning related properties

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 92 Views

The positioning related properties in CSS allow you to control where elements appear on a webpage. CSS offers several positioning methods to place elements precisely where you want them. Syntax selector { position: value; top: value; right: value; bottom: value; left: value; } Position Property Values ValueDescription relativeElement is positioned relative to its normal position absoluteElement is positioned relative to its nearest positioned ancestor fixedElement is positioned relative to the viewport (browser window) ...

Read More

Values of CSS overflow property

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 146 Views

CSS provides a property called overflow that tells the browser what to do if the box's contents are larger than the box itself. Syntax selector { overflow: value; } Possible Values ValueDescription visibleAllows the content to overflow the borders of its containing element hiddenThe content is cut off at the border and no scrollbars are visible scrollScrollbars are added to allow scrolling through the content autoScrollbars appear only if the content overflows Example: Visible Overflow The following example demonstrates the visible value where content overflows outside ...

Read More

Usage of margin-right property with CSS

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 77 Views

The CSS margin-right property specifies the right margin of an element. It controls the space between the element and adjacent elements or the container's edge on the right side. Syntax selector { margin-right: value; } Possible Values ValueDescription lengthDefines margin in px, em, rem, etc. %Defines margin as a percentage of parent element's width autoBrowser calculates the margin automatically Example 1: Using Length Values The following example demonstrates margin-right using pixel values − .container { ...

Read More

CSS max-height property

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 123 Views

The CSS max-height property sets the maximum height that an element can reach. When content exceeds this maximum height, it will overflow or be clipped depending on the overflow property. Syntax selector { max-height: value; } Possible Values ValueDescription lengthA fixed height in px, em, rem, etc. percentageA percentage of the containing block's height noneNo maximum height limit (default) initialSets to default value inheritInherits from parent element Example: Text Content with Max Height The following example shows how max-height affects text content that exceeds the specified ...

Read More

CSS height property

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 124 Views

The CSS height property is used to set the height of an element. It determines how tall an element will be, and can accept various types of values including lengths, percentages, or keywords. Syntax selector { height: value; } Possible Values ValueDescription autoBrowser calculates the height automatically (default) lengthDefines height in px, em, rem, cm, etc. %Defines height as a percentage of the parent element initialSets the property to its default value inheritInherits the value from parent element Example: Setting Fixed Height The following example demonstrates ...

Read More

Set the width, line style and color properties for an outline in a single statement with CSS

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 241 Views

The CSS outline property is a shorthand property that allows you to set the width, line style, and color of an element's outline in a single statement. The outline appears outside the element's border and does not affect the element's dimensions or layout. Syntax selector { outline: width style color; } Possible Values PropertyValuesDescription widththin, medium, thick, or length (px, em, etc.)Sets the thickness of the outline stylesolid, dashed, dotted, double, groove, ridge, inset, outsetDefines the line style of the outline colorcolor name, hex, rgb, rgba, etc.Sets the color ...

Read More

Usage of CSS list-style property

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 89 Views

The CSS list-style property serves as a shorthand for setting all list-related properties in a single declaration. It allows you to specify the list marker type, position, and image simultaneously. Syntax selector { list-style: list-style-type list-style-position list-style-image; } Possible Values PropertyDescriptionValues list-style-typeSpecifies the marker typedisc, circle, square, decimal, none, etc. list-style-positionSpecifies marker positioninside, outside list-style-imageUses custom image as markerurl() or none Example: Basic List Style The following example demonstrates using the list-style shorthand property − .custom-list ...

Read More

How to make the main content div fill height of screen with CSS and HTML

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 497 Views

Making the main content div fill the height of the screen is a common layout requirement in web development. This can be achieved using CSS positioning properties or modern layout techniques like flexbox and CSS Grid. Syntax .main-content { height: 100vh; /* or */ position: absolute; top: header-height; bottom: footer-height; /* or */ flex: 1; } Method 1: Using Viewport Height (vh) The simplest approach is ...

Read More

Using SAP Web Service from WSDL file

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 13-Mar-2026 784 Views

Integrating SAP web services in .NET is straightforward, as Visual Studio handles most of the configuration with just a few clicks. Adding SAP Web Service Reference Follow these steps to integrate the SAP web service into your .NET project − Step 1: Open your .NET project in Visual Studio. Step 2: Right-click on your project in Solution Explorer and select Add Service Reference. Step 3: In the dialog box, specify the WSDL file location shared by your SAP client. This can be a URL or a local file path. Step 4: Click OK to ...

Read More

Invalid Connection String in SAP Business One

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 13-Mar-2026 601 Views

The answer lies within the exception message itself. The connection string that you are using to connect to the Business object server is wrongly configured. Check for each parameter, you will find something must be wrong and hence why you are receiving this error message. Common Connection String Parameters A typical SAP Business One connection string contains several critical parameters that must be correctly configured − Server − The SAP Business One server address CompanyDB − The company database name UserName − Valid SAP Business One username ...

Read More
Showing 91–100 of 233 articles
« Prev 1 8 9 10 11 12 24 Next »
Advertisements