Does margin-top or margin-bottom have an effect on
inline elements?
Answer Posted / hrpynux@gmail.com
Top and bottom margins do not affect inline elements because inline elements flow with content on the page. You can set left and right margins/padding on an inline element but not top or bottom because it would disrupt the flow of content.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you write css3 code for creating multi background images?
How do style sheets cascade?
What is the purpose of pseudo-elements?
How do I center a div on my screen?
What is css in coding?
What is text-overflow property used in css3?
What are the advantages of css?
What are the advantages and disadvantages of inline styles?
What are the associate boarder image properties in css3?
What are the differences between relative and absolute in css?
What is box sizing in css3?
What are the different modules used in the current version of css?
How many types of css selectors are there?
Explain css3 selectors.
Explain the css box model and its different elements.