
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 10483 Articles for Web Development

111 Views
Use the CSS overflow property to solve this issue of a content exceeding the allocated space. You can try to run the following code to solve the issue −Example .scroll{ display:block; border: 2px solid green; padding:10px; margin-top:10px; width:300px; height:50px; overflow:scroll; } .auto{ display:block; border: 2px solid green; ... Read More

185 Views
CSS provides a property called overflow which tells the browser what to do if the box's contents are larger than the box itself. This property can take one of the following values −ValueDescriptionvisibleAllows the content to overflow the borders of its containing element.hiddenThe content of the nested element is simply cut off at the border of the containing element and no scrollbars are visible.scrollThe size of the containing element does not change, but the scrollbars are added to allow the user to scroll to see the content.autoThe purpose is the same as a scroll, but the scrollbar will be shown only ... Read More

408 Views
The min-width property is used to set the minimum width that a box can be. The value of the min-width property can be a number, a length, or a percentage.Example This paragraph is 100px high and min width is 400px This paragraph is 100px high and min width is 400px

133 Views
The max-width property is used to set the maximum width that a box can be. The value of the max-width property can be a number, a length, or a percentage.Example This paragraph is 200px high and max width is 100px This paragraph is 200px high and max width is 100px

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

157 Views
The min-width property is used to set the minimum width that a box can be. The value of the min-width property can be a number, a length, or a percentage.Example This paragraph is 100px high and min width is 400px This paragraph is 100px high and min width is 400px

113 Views
The max-height property is used to set a maximum height that a box can be. The value of the max-height property can be a number, a length, or a percentage.Example This paragraph is 400px wide and max height is 10px This paragraph is 400px wide and max height is 10px This paragraph is 400px wide and max height is 10px This paragraph is 400px wide and max height is 10px