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
Front End Scripts Articles - Page 6 of 60
70 Views
The margin-bottom specifies the bottom margin of an element. It can have a value in length, % or auto. You can try to run the following code to set the bottom margin:Example This is a paragraph with a specified bottom margin . This is another bottom with a specified top margin in percent
105 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
332 Views
The margin property defines the space around an HTML element. It is possible to use negative values to overlap content. It specifies a shorthand property for setting the margin properties in one declaration.ExampleYou can try to run the following code to set margins All four margins will be 20px Top margin will be 15px, left and right margin will be 4% of the total width of the document, bottom margin will be -10px



